diff options
Diffstat (limited to 'ragel/mlcodegen.cpp')
-rw-r--r-- | ragel/mlcodegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ragel/mlcodegen.cpp b/ragel/mlcodegen.cpp index f8268d6..166e453 100644 --- a/ragel/mlcodegen.cpp +++ b/ragel/mlcodegen.cpp @@ -565,7 +565,7 @@ void OCamlCodeGen::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()] << TOP_SEP(); |