Skip to content

bug: false error in for statement #402

Description

@hkimura-intersys

Getting an error on a valid for statement that has an inline block comment in between the keyword and expression. For example:
Image

but it shouldn't be an error, as it compiles and executes:

Image

I think this parser automatically classifies this as an argumentless statement, so then when it sees the expression it thinks there is an error, but in this case that comment is allowed in between the keyword and expression, and it should still classify it as a statement with an argument (condition).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions