Skip to content

CONTINUE is allowed. #83

@python-processing-unit

Description

@python-processing-unit

According to the specification section 3.7:

CONTINUE() MUST skip the remainder of the current iteration of the innermost enclosing loop and proceed to the next iteration. If no further iteration would occur, CONTINUE() MUST have the same effect as BREAK(1). Using CONTINUE() outside a loop MUST raise a runtime error.

The implementation, however, allows omitting the parentheses from CONTINUE().

Prefix REPL. Enter statements, blank line to run buffer.
>>> FOR(i, 0d10){ CONTINUE }
>>>

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions