Skip to content

Wrong infinite loop #3

Description

@ftynse

The rule

loop_infinite:
    WHILE '(' INTEGER ')'
  | FOR '(' ';' ';' ')'
  ;

in source/parser.y does match the code

while (0) { 
}

which is not infinite and is not even executed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions