summaryrefslogtreecommitdiff
path: root/ragel/cscodegen.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-03-24 04:52:08 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-03-24 04:52:08 +0000
commitd13d67a31c451ebd78ce708a4ef85803d429f158 (patch)
tree12228e3c829c72d40ca2e6da8cb7797fcda11e91 /ragel/cscodegen.cpp
parenteafd7a3974e8605fd02794269db6114a3446e016 (diff)
downloadragel-tarball-master.tar.gz
Diffstat (limited to 'ragel/cscodegen.cpp')
-rw-r--r--ragel/cscodegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ragel/cscodegen.cpp b/ragel/cscodegen.cpp
index 6de1506..37eb521 100644
--- a/ragel/cscodegen.cpp
+++ b/ragel/cscodegen.cpp
@@ -635,7 +635,7 @@ void CSharpFsmCodeGen::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";