summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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