summaryrefslogtreecommitdiff
path: root/examples/gotocallret.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 /examples/gotocallret.cpp
parenteafd7a3974e8605fd02794269db6114a3446e016 (diff)
downloadragel-tarball-master.tar.gz
Diffstat (limited to 'examples/gotocallret.cpp')
-rw-r--r--examples/gotocallret.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/examples/gotocallret.cpp b/examples/gotocallret.cpp
index 18a9531..888110f 100644
--- a/examples/gotocallret.cpp
+++ b/examples/gotocallret.cpp
@@ -138,9 +138,9 @@ tr1:
#line 42 "gotocallret.rl"
{
if ( comm >= 'a' )
- {stack[top++] = 2; goto st5;}
+ {stack[top++] = 2;goto st5;}
else
- {stack[top++] = 2; goto st6;}
+ {stack[top++] = 2;goto st6;}
}
goto st2;
st2:
@@ -238,18 +238,24 @@ case 10:
switch ( cs ) {
case 5:
#line 38 "gotocallret.rl"
- {p--;{cs = stack[--top];goto _again;}}
+ {p--;{cs = stack[--top]; if ( p == pe )
+ goto _test_eof;
+goto _again;}}
break;
case 6:
#line 39 "gotocallret.rl"
- {p--;{cs = stack[--top];goto _again;}}
+ {p--;{cs = stack[--top]; if ( p == pe )
+ goto _test_eof;
+goto _again;}}
break;
case 1:
case 2:
#line 56 "gotocallret.rl"
- {p--;{goto st3;}}
+ {p--;{ if ( p == pe )
+ goto _test_eof3;
+goto st3;}}
break;
-#line 253 "gotocallret.cpp"
+#line 259 "gotocallret.cpp"
}
}