diff options
Diffstat (limited to 'ragel/rubycodegen.cpp')
-rw-r--r-- | ragel/rubycodegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ragel/rubycodegen.cpp b/ragel/rubycodegen.cpp index ff25ada..ee68238 100644 --- a/ragel/rubycodegen.cpp +++ b/ragel/rubycodegen.cpp @@ -430,7 +430,7 @@ void RubyCodeGen::STATE_IDS() out << "\n"; - if ( entryPointNames.length() > 0 ) { + if ( !noEntry && entryPointNames.length() > 0 ) { for ( EntryNameVect::Iter en = entryPointNames; en.lte(); en++ ) { STATIC_VAR( "int", DATA_PREFIX() + "en_" + *en ) << " = " << entryPointIds[en.pos()] << ";\n"; |