Debian Codegraph @

tests/pr10.fw

raw
1 PR10: Test syntactic error recovery.
2
3 1. Test recovery at top parsing level.
4 @<
5
6 @A@<Error recovery point@>
7
8 2. Test recovery inside macro definition.
9
10 @$@<Sloth1@>@>==@{
11 Walrus@}
12
13 @$@<Sloth2@>==@{
14 @<Walrus@<
15 @}
16 @A@<Error recovery point@>
17
18 3. Test recovery inside actual parameter list in macro definition.
19 @$@<Sloth3@>==@{
20 @<Walrus@>@(@"aardvark@>
21 @}
22 @A@<Error recovery point@>
23
24 4. Test EOF in the middle of a complicated construct.
25 The following makes the end of the file looked chopped off, but it is
26 actually intentional.
27 @$@<Sloth4@>==@{
28 @<Walrus@>@(@"aardva