summaryrefslogtreecommitdiff
path: root/colm/parser.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-04-08 20:36:07 -0400
committerAdrian Thurston <thurston@complang.org>2013-04-08 20:36:07 -0400
commitaeec1f74feb2a083ee153403c5837f77adadd967 (patch)
tree74edaabe51cb1560edd282bc5e99fbdadc1adcbc /colm/parser.h
parentbad9a15e0b56c3b047335832ae0e9e53fa4a41a6 (diff)
downloadcolm-aeec1f74feb2a083ee153403c5837f77adadd967.tar.gz
eliminated the root region
Diffstat (limited to 'colm/parser.h')
-rw-r--r--colm/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/parser.h b/colm/parser.h
index a7a71c96..ed028065 100644
--- a/colm/parser.h
+++ b/colm/parser.h
@@ -46,7 +46,7 @@ struct BaseParser
bool enterRl;
bool insideRegion()
- { return regionStack.length() > 1; }
+ { return regionStack.length() > 0; }
/* Lexical feedback. */