diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/funnelAC/tests/pr10.fw |
Initial commit
Diffstat (limited to 'web/funnelAC/tests/pr10.fw')
-rw-r--r-- | web/funnelAC/tests/pr10.fw | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/web/funnelAC/tests/pr10.fw b/web/funnelAC/tests/pr10.fw new file mode 100644 index 0000000000..0e5bf191c8 --- /dev/null +++ b/web/funnelAC/tests/pr10.fw @@ -0,0 +1,28 @@ +PR10: Test syntactic error recovery. + +1. Test recovery at top parsing level. +@< + +@A@<Error recovery point@> + +2. Test recovery inside macro definition. + +@$@<Sloth1@>@>==@{ +Walrus@} + +@$@<Sloth2@>==@{ +@<Walrus@< +@} +@A@<Error recovery point@> + +3. Test recovery inside actual parameter list in macro definition. +@$@<Sloth3@>==@{ +@<Walrus@>@(@"aardvark@> +@} +@A@<Error recovery point@> + +4. Test EOF in the middle of a complicated construct. +The following makes the end of the file looked chopped off, but it is +actually intentional. +@$@<Sloth4@>==@{ +@<Walrus@>@(@"aardva |