summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-12-09 19:48:16 -0500
committerAdrian Thurston <thurston@complang.org>2014-12-09 19:48:16 -0500
commit63c3b7e6b56e573cec040ec994a31fe8791ae6ea (patch)
treecce4767e15b57ac11ad4e0b89bbc2f6709873384
parent2d898d1080458396107ab3c928301f1c09e87c72 (diff)
downloadragel-63c3b7e6b56e573cec040ec994a31fe8791ae6ea.tar.gz
updated expected output in rlscan test since adding more input
-rw-r--r--test/rlscan.rl36
1 files changed, 35 insertions, 1 deletions
diff --git a/test/rlscan.rl b/test/rlscan.rl
index ff124a37..5203e3e8 100644
--- a/test/rlscan.rl
+++ b/test/rlscan.rl
@@ -303,7 +303,6 @@ int main()
"hi %%{ /'}%%'/ { /*{*/ {} } + '\\'' }%%there\n"
"hi %%{ /'}%%'/ { /*{*/ {} } + '\\'' }%%there\n"
"hi %%{ /'}%%'/ { /*{*/ {} } + '\\'' }%%there\n"
- "hi %%{ /'}%%'/ { /*{*/ {} } + '\\'' }%%there\n"
);
return 0;
@@ -316,4 +315,39 @@ hi <section>
<single_lit>'\''</single_lit>
</section>
there
+hi <section>
+<re_lit>/'}%%'/</re_lit>
+<inline>{ /*{*/ {} }</inline>
+<symbol>+</symbol>
+<single_lit>'\''</single_lit>
+</section>
+there
+hi <section>
+<re_lit>/'}%%'/</re_lit>
+<inline>{ /*{*/ {} }</inline>
+<symbol>+</symbol>
+<single_lit>'\''</single_lit>
+</section>
+there
+hi <section>
+<re_lit>/'}%%'/</re_lit>
+<inline>{ /*{*/ {} }</inline>
+<symbol>+</symbol>
+<single_lit>'\''</single_lit>
+</section>
+there
+hi <section>
+<re_lit>/'}%%'/</re_lit>
+<inline>{ /*{*/ {} }</inline>
+<symbol>+</symbol>
+<single_lit>'\''</single_lit>
+</section>
+there
+hi <section>
+<re_lit>/'}%%'/</re_lit>
+<inline>{ /*{*/ {} }</inline>
+<symbol>+</symbol>
+<single_lit>'\''</single_lit>
+</section>
+there
#endif