summaryrefslogtreecommitdiff
path: root/test/ragel.d/fnext3.rl
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2021-12-28 20:19:46 +0000
committerAdrian Thurston <thurston@colm.net>2021-12-28 20:19:46 +0000
commitd4577c924451b331c73c8ed0af04f6efd35ac0b4 (patch)
tree0af0283a3f1f641a556ba82c0ac8eb79e7f51628 /test/ragel.d/fnext3.rl
parent841bd4cf20c9d512fa7a3c80326f0013ac2e3ced (diff)
downloadragel-d4577c924451b331c73c8ed0af04f6efd35ac0b4.tar.gz
some test cases with from-state actions now need eof and output updating
With the fix in for #80, test cases that embed from-state actions, but no eof actions, now need to have eof set. Updating output to reflect the calls on eof is also required in some cases.
Diffstat (limited to 'test/ragel.d/fnext3.rl')
-rw-r--r--test/ragel.d/fnext3.rl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ragel.d/fnext3.rl b/test/ragel.d/fnext3.rl
index 69bfee47..c37a0ee4 100644
--- a/test/ragel.d/fnext3.rl
+++ b/test/ragel.d/fnext3.rl
@@ -37,6 +37,7 @@ void exec( char *data, int len )
{
char *p = data;
char *pe = data + len;
+ char *eof = pe;
while ( cs != fnext_error && p < pe ) {
printf( "%c\n", *p );