From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- web/funnelAC/tests/pr10.fw | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 web/funnelAC/tests/pr10.fw (limited to 'web/funnelAC/tests/pr10.fw') 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@ + +2. Test recovery inside macro definition. + +@$@@>==@{ +Walrus@} + +@$@==@{ +@ + +3. Test recovery inside actual parameter list in macro definition. +@$@==@{ +@@(@"aardvark@> +@} +@A@ + +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. +@$@==@{ +@@(@"aardva -- cgit v1.2.3