SonarDelphi
SonarDelphi copied to clipboard
parser fails on $IFDEF statement without spaces
The parser fails on this line of code:
s := {$ifdef CPUx64}'64'{$else}'32'{$endif};
Adding spaces serves as a workaround:
s := {$ifdef CPUx64} '64' {$else} '32' {$endif};
Same issue here I'm using Sonar 9.1.0.47736 on Docker for Windows for testing purposes with sonar-delphi-plugin-1.0.7.jar.