summaryrefslogtreecommitdiff
path: root/colm/parser.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-04-07 11:59:34 -0400
committerAdrian Thurston <thurston@complang.org>2013-04-07 11:59:34 -0400
commit8ec3a5a4c25c6be546d6c4b951e2c0678a5cdc2c (patch)
tree80b17c191dfdea3839bf1bcc90d554c8d9b316e9 /colm/parser.h
parentf2c2fe5e637d3c03407ca835bba125784e0af1f1 (diff)
downloadcolm-8ec3a5a4c25c6be546d6c4b951e2c0678a5cdc2c.tar.gz
split TokenRegion into Region and Impl
We have a many-to-one region to impl mapping because the ignore-only state machine is used more than once.
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 497a968a..a7a71c96 100644
--- a/colm/parser.h
+++ b/colm/parser.h
@@ -53,7 +53,7 @@ struct BaseParser
void init();
void addRegularDef( const InputLoc &loc, Namespace *nspace,
const String &name, LexJoin *join );
- TokenRegion *createRegion( const InputLoc &loc );
+ TokenRegion *createRegion( const InputLoc &loc, RegionImpl *impl );
Namespace *createNamespace( const InputLoc &loc, const String &name );
void pushRegionSet( const InputLoc &loc );
void popRegionSet();