diff options
author | Adrian Thurston <thurston@complang.org> | 2013-02-18 14:29:37 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-02-18 14:29:37 -0500 |
commit | 68e06a1a633b0c110f5b6ced14634ea29d1fde2a (patch) | |
tree | 3374b7230e4d42d82a46f78100f26eb8fcaa8a87 /colm/compiler.cc | |
parent | 272309c2e5d69e07bbd2481c035ce2135473a4ed (diff) | |
download | colm-68e06a1a633b0c110f5b6ced14634ea29d1fde2a.tar.gz |
don't need to maintain the tree of region
Diffstat (limited to 'colm/compiler.cc')
-rw-r--r-- | colm/compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/compiler.cc b/colm/compiler.cc index 2d44bfed..d6386a64 100644 --- a/colm/compiler.cc +++ b/colm/compiler.cc @@ -762,7 +762,7 @@ void Compiler::createDefaultScanner() /* Create a scanner which will be used when no other scanner can be * figured out. It returns single characters. */ defaultRegion = new TokenRegion( InputLoc(), - regionList.length(), 0 ); + regionList.length() ); regionList.append( defaultRegion ); /* Insert the machine definition into the graph dictionary. */ |