home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / program / funnel.zoo / tests / pr10.fw < prev    next >
Text File  |  1993-04-11  |  592b  |  29 lines

  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
  29.