Skip to content

parser fails on $IFDEF statement without spaces #5

Open
@joachimmarder

Description

@joachimmarder

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};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggrammarIssue is related to Delphi grammar and needs to be fixed in ANTLRpull requests invitedThere are no current plans to address the issue, but we would be happy if someone supplies a PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions