fcl-passrc cannot parse {$I %xxx%}
Original Reporter info from Mantis: Michalis @michaliskambi
-
Reporter name: Michalis Kamburelis
Original Reporter info from Mantis: Michalis @michaliskambi
- Reporter name: Michalis Kamburelis
Description:
This is about this feature of FPC: http://www.freepascal.org/docs-html/prog/progsu38.html . FPC compiler can parse it, current fcl-passrc fails:
$ fpc ok_include_environment.pas
$ ./test_parser ok_include_environment.pas
An unhandled exception occurred at $08093FC6 :
EParserError : Syntax error at token ";"
Attaching the testcase, for the test_parser.lpr see bugreport #16340 (closed) or the wiki: http://wiki.freepascal.org/fcl-passrc
Mantis conversion info:
- Mantis ID: 16343
- 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: 16365 (#605d9b5e)