summaryrefslogtreecommitdiff
path: root/web/funnelAC/tests/pr10.fw
blob: 0e5bf191c8f84c8f1d4175878fc3a9669184604a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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