diff options
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r-- | src/parser/parser.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h index d30ea7c16..96a16b31f 100644 --- a/src/parser/parser.h +++ b/src/parser/parser.h @@ -751,11 +751,13 @@ public: * Pushes a scope. All subsequent symbol declarations made are only valid in * this scope, i.e. they are deleted on the next call to popScope. * - * The argument bindingLevel is true, the assertion level is set to the - * current scope level. This determines which scope assertions are declared - * at. + * The argument isUserContext is true, when we are pushing a user context + * e.g. via the smt2 command (push n). This may also include one initial + * pushScope when the parser is initialized. User-context pushes and pops + * have an impact on both expression names and the symbol table, whereas + * other pushes and pops only have an impact on the symbol table. */ - void pushScope(bool bindingLevel = false); + void pushScope(bool isUserContext = false); void popScope(); |