summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-01-05 17:58:14 -0500
committerAdrian Thurston <thurston@complang.org>2014-01-05 17:58:14 -0500
commit9d8a2ce75c15c5564f0eb598f6d28f40dbb69947 (patch)
tree24edc92ed4e3530728fecedcdb295539c2f68901 /src/parser.cc
parentb359b93aba856a6bac241fc3cee32a17138d77b3 (diff)
downloadcolm-9d8a2ce75c15c5564f0eb598f6d28f40dbb69947.tar.gz
removed popScope from ObjectDef
Diffstat (limited to 'src/parser.cc')
-rw-r--r--src/parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cc b/src/parser.cc
index 3a1964d8..8820475c 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -970,5 +970,5 @@ void BaseParser::pushScope()
void BaseParser::popScope()
{
- curLocalFrame->popScope();
+ curLocalFrame->curScope = curLocalFrame->curScope->parentScope;
}