summaryrefslogtreecommitdiff
path: root/ragel/javacodegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ragel/javacodegen.cpp')
-rw-r--r--ragel/javacodegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ragel/javacodegen.cpp b/ragel/javacodegen.cpp
index ff2193c..8cc64f8 100644
--- a/ragel/javacodegen.cpp
+++ b/ragel/javacodegen.cpp
@@ -984,7 +984,7 @@ void JavaTabCodeGen::writeData()
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";