Updated usage information concerning which host languages support which code
[external/ragel.git] / ragel / csflat.cpp
index 65f5871..dc64cdd 100644 (file)
@@ -735,7 +735,7 @@ void CSharpFlatCodeGen::writeExec()
 
        out << "\n";
 
-       if ( hasEnd ) {
+       if ( !noEnd ) {
                testEofUsed = true;
                out << 
                        "       if ( " << P() << " == " << PE() << " )\n"
@@ -819,7 +819,7 @@ void CSharpFlatCodeGen::writeExec()
                        "               goto _out;\n";
        }
 
-       if ( hasEnd ) {
+       if ( !noEnd ) {
                out << 
                        "       if ( ++" << P() << " != " << PE() << " )\n"
                        "               goto _resume;\n";