aboutsummaryrefslogtreecommitdiffstats
path: root/prism/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'prism/parser.h')
-rw-r--r--prism/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/prism/parser.h b/prism/parser.h
index 0a5ba80819..0553e29819 100644
--- a/prism/parser.h
+++ b/prism/parser.h
@@ -293,6 +293,11 @@ typedef struct pm_scope {
// This is necessary to determine if child blocks are allowed to use
// numbered parameters.
bool numbered_params;
+
+ // A transparent scope is a scope that cannot have locals set on itself.
+ // When a local is set on this scope, it will instead be set on the parent
+ // scope's local table.
+ bool transparent;
} pm_scope_t;
// This struct represents the overall parser. It contains a reference to the