diff options
author | Adrian Thurston <thurston@complang.org> | 2013-04-07 11:59:34 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-04-07 11:59:34 -0400 |
commit | 8ec3a5a4c25c6be546d6c4b951e2c0678a5cdc2c (patch) | |
tree | 80b17c191dfdea3839bf1bcc90d554c8d9b316e9 /colm/parser.h | |
parent | f2c2fe5e637d3c03407ca835bba125784e0af1f1 (diff) | |
download | colm-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.h | 2 |
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(); |