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 /examples/gotocallret.cpp | |
parent | eafd7a3974e8605fd02794269db6114a3446e016 (diff) | |
download | ragel-tarball-master.tar.gz |
ragel-6.10HEADragel-6.10master
Diffstat (limited to 'examples/gotocallret.cpp')
-rw-r--r-- | examples/gotocallret.cpp | 18 |
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" } } |