diff options
author | Adrian Thurston <thurston@complang.org> | 2014-12-09 19:48:16 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-12-09 19:48:16 -0500 |
commit | 63c3b7e6b56e573cec040ec994a31fe8791ae6ea (patch) | |
tree | cce4767e15b57ac11ad4e0b89bbc2f6709873384 | |
parent | 2d898d1080458396107ab3c928301f1c09e87c72 (diff) | |
download | ragel-63c3b7e6b56e573cec040ec994a31fe8791ae6ea.tar.gz |
updated expected output in rlscan test since adding more input
-rw-r--r-- | test/rlscan.rl | 36 |
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 |