fcl-passrc cannot parse formatting numbers (for Writeln and friends) like 123:1
Original Reporter info from Mantis: Michalis @michaliskambi
-
Reporter name: Michalis Kamburelis
Original Reporter info from Mantis: Michalis @michaliskambi
- Reporter name: Michalis Kamburelis
Description:
When parsing the attached format_int.pas code, the fcl-passrc:
- from FPC 3.1.1 (from revision 34629): makes an access violation.
$ fpc -iV
3.1.1
$ fpc test_passrc.lpr
$./test_passrc toolpackage.pas
An unhandled exception occurred at $0000000000412620:
EAccessViolation: Access violation
- from FPC 3.0.0: fails to parse them, but raises a clean exception:
$ fpc -iV
3.0.0
$ fpc test_passrc.lpr
$ ./test_passrc format_int.pas
An unhandled exception occurred at $0000000000469910:
EParserError: Expected ";" at token ":" in file format_int.pas at line 3 column 14
Mantis conversion info:
- Mantis ID: 30701
- OS: Debian GNU/Linux
- OS Build: (testing)
- Build: 34629
- Platform: x86-64
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 34687 (#70ce54ef)