diff options
Diffstat (limited to 'colm/declare.cc')
-rw-r--r-- | colm/declare.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/colm/declare.cc b/colm/declare.cc index cdd279a5..faa4f7dc 100644 --- a/colm/declare.cc +++ b/colm/declare.cc @@ -306,8 +306,8 @@ void Namespace::declare( Compiler *pd ) for ( TokenDefListNs::Iter tokenDef = tokenDefList; tokenDef.lte(); tokenDef++ ) { if ( tokenDef->isLiteral ) { if ( tokenDef->isZero ) { - assert( tokenDef->regionSet->collectIgnore->ciLel != 0 ); - tokenDef->tdLangEl = tokenDef->regionSet->collectIgnore->ciLel; + assert( tokenDef->regionSet->collectIgnore->zeroLel != 0 ); + tokenDef->tdLangEl = tokenDef->regionSet->collectIgnore->zeroLel; } else { /* Original. Create a token for the literal. */ @@ -426,12 +426,12 @@ void Compiler::makeIgnoreCollectors() for ( RegionSetList::Iter regionSet = regionSetList; regionSet.lte(); regionSet++ ) { if ( regionSet->tokenIgnore != rootRegion && regionSet->tokenIgnore != defaultRegion ) { String name( 128, "_ign_%p", regionSet->tokenIgnore ); - LangEl *ignLel = new LangEl( rootNamespace, name, LangEl::Term ); - langEls.append( ignLel ); - ignLel->isCI = true; - ignLel->regionSet = regionSet; + LangEl *zeroLel = new LangEl( rootNamespace, name, LangEl::Term ); + langEls.append( zeroLel ); + zeroLel->isZero = true; + zeroLel->regionSet = regionSet; - regionSet->collectIgnore->ciLel = ignLel; + regionSet->collectIgnore->zeroLel = zeroLel; } } } |