CRLF as default parameter causes compiler to fail
Original Reporter info from Mantis: andrew.hall
-
Reporter name: Andrew Hall
Original Reporter info from Mantis: andrew.hall
- Reporter name: Andrew Hall
Description:
Compiler failure traced to this part of the .s file...
La281:
.byte 226,8
.long L$set$1020
.set L$set$1020,La280-Ldebug_info0
.byte 0
# Procdef TKStrings.AddItemsFromString(<TKStrings>,const AnsiString,const AnsiString="
");
.byte 227,8
.ascii "TKSTRINGS__ADDITEMSFROMSTRING\000"
.byte 65
The function this relates to is
procedure AddItemsFromString(const aItems: String; const aSeparator: String = #13#10);
So seems that special (formatting) characters as default values are corrupting the parsing of the .s file?
Mantis conversion info:
- Mantis ID: 17928
- OS: Mac OS X
- OS Build: 10.6.5
- Build: RC1
- Platform: Intel i386
- Version: 2.4.2
- Fixed in version: 2.6.0
- Fixed in revision: 16344 (#d36f8ac5)