fcl-passrc cannot parse "class abstract", "class sealed"
Original Reporter info from Mantis: Michalis @michaliskambi
-
Reporter name: Michalis Kamburelis
Original Reporter info from Mantis: Michalis @michaliskambi
- Reporter name: Michalis Kamburelis
Description:
Current FPC compiles Ok unit with "class abstract" or "class sealed", but fcl-passrc parser cannot handle them:
$ fpc ok_abstract_sealed.pas
$ fpc test_parser.lpr
$ ./test_parser ok_abstract_sealed.pas
An unhandled exception occurred at $08093FC6 :
EParserError : Expected "," or ":" at token "("
Attaching ok_abstract_sealed.pas testcase and a simple program code using the parser (it's the same sample program code I just pasted into http://wiki.freepascal.org/fcl-passrc).
Mantis conversion info:
- Mantis ID: 16340
- OS: Debian GNU/Linux
- OS Build: (testing)
- Build: 15177 (today's SVN)
- Platform: i386
- Version: 2.5.1
- Fixed in version: 2.4.4
- Fixed in revision: 16361 (#7f3a9635)