summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-28 13:35:03 -0800
committerAdrian Thurston <thurston@colm.net>2019-11-28 13:35:58 -0800
commit6241a7bfacc417ce303a6e1fdb79309c8f5cc881 (patch)
treec7b9dbf6810051baa43e71dce82eef397cbf4e45 /test
parent38f0495adf51690aa7b71800a907e2e59da49651 (diff)
downloadcolm-6241a7bfacc417ce303a6e1fdb79309c8f5cc881.tar.gz
ragel tests: fixed hardcoding of first_final
This was hardcoded from initial translation from C. Caused a failure once the patters were changed Also added strings3.rl to extra dist
Diffstat (limited to 'test')
-rw-r--r--test/ragel.d/Makefile.am2
-rw-r--r--test/ragel.d/strings3.rl2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ragel.d/Makefile.am b/test/ragel.d/Makefile.am
index ae374d53..5e0a6955 100644
--- a/test/ragel.d/Makefile.am
+++ b/test/ragel.d/Makefile.am
@@ -50,7 +50,7 @@ EXTRA_DIST = \
include1.rl minimize1.rl scan1.rl union.rl clang1.rl cond6.rl \
element2.rl erract7.rl forder2.rl include2.rl patact.rl scan2.rl \
xmlcommon.rl cppscan1.h eofact.h mailbox1.h strings2.h recdescent4.rl \
- recdescent5.rl buffer.h
+ recdescent5.rl buffer.h strings3.rl
CLEANFILES = working
diff --git a/test/ragel.d/strings3.rl b/test/ragel.d/strings3.rl
index b39a9fbb..3889be7b 100644
--- a/test/ragel.d/strings3.rl
+++ b/test/ragel.d/strings3.rl
@@ -1368,7 +1368,7 @@ test:
movq %rax, %rdi
call exec
movl cs(%rip), %edx
- movl $5429, %eax
+ movl strs_first_final, %eax
cmpl %eax, %edx
jl .L27938
movl $.LC0, %edi