diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-03-24 04:52:08 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-03-24 04:52:08 +0000 |
commit | d13d67a31c451ebd78ce708a4ef85803d429f158 (patch) | |
tree | 12228e3c829c72d40ca2e6da8cb7797fcda11e91 /ragel/gocodegen.cpp | |
parent | eafd7a3974e8605fd02794269db6114a3446e016 (diff) | |
download | ragel-tarball-master.tar.gz |
ragel-6.10HEADragel-6.10master
Diffstat (limited to 'ragel/gocodegen.cpp')
-rw-r--r-- | ragel/gocodegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ragel/gocodegen.cpp b/ragel/gocodegen.cpp index 5ff44c1..d28f0f0 100644 --- a/ragel/gocodegen.cpp +++ b/ragel/gocodegen.cpp @@ -632,7 +632,7 @@ void GoCodeGen::STATE_IDS() out << endl; - if ( entryPointNames.length() > 0 ) { + if ( !noEntry && entryPointNames.length() > 0 ) { for ( EntryNameVect::Iter en = entryPointNames; en.lte(); en++ ) { CONST( "int", DATA_PREFIX() + "en_" + *en ) << " = " << entryPointIds[en.pos()] << endl; |