Prerequisites
SonarDelphi version
1.21
Delphi version
13
SonarQube version
No response
Issue description
Grammar cannot parse C:\Program Files (x86)\Embarcadero\Studio\37.0\source\rtl\sys\System.pas.
The error is "au.com.integradev.delphi.file.DelphiFile$DelphiFileConstructionException: Failed to construct DelphiFile (line 2203:85 no viable alternative at input ';')"
Steps to reproduce
Try to parse
unit MyUnit;
interface
var { Text output line break handling. Default value for all text files }
DefaultTextLineBreakStyle: TTextLineBreakStyle = {$IFDEF POSIX} tlbsLF {$ENDIF}
{$IFDEF MSWINDOWS} tlbsCRLF {$ENDIF};
implementation
end.
Minimal Delphi code exhibiting the issue
No response
Prerequisites
SonarDelphi version
1.21
Delphi version
13
SonarQube version
No response
Issue description
Grammar cannot parse C:\Program Files (x86)\Embarcadero\Studio\37.0\source\rtl\sys\System.pas.
The error is "au.com.integradev.delphi.file.DelphiFile$DelphiFileConstructionException: Failed to construct DelphiFile (line 2203:85 no viable alternative at input ';')"
Steps to reproduce
Try to parse
Minimal Delphi code exhibiting the issue
No response