Skip to content

Some examples fail to parse #51

@jcorbin

Description

@jcorbin

Discovered while covering the describe module in #52, we have a few examples which fail to parse:

$ ./scripts/gen_desc_tests.sh
internal story error
examples/maze.kni:8:1: Expected parenthetical expression to end with ")" or continue with operator
but got "v".
examples/maze.kni:8:1: Expected "}" but got ")".
examples/maze.kni:8:1: Expected end of file, got "}".
internal story error
examples/ship.kni:24:7: Expected expression but got "?".
examples/ship.kni:24:7: Expected "}" but got "?".
examples/ship.kni:24:7: Expected to the end of the block but got "}".
examples/ship.kni:37:7: Expected expression but got "?".
examples/ship.kni:37:7: Expected "}" but got "?".
examples/ship.kni:37:7: Expected to the end of the block but got "}".
Could not link next label "forward.airlock" at position examples/ship.kni:19:1
Could not link next label "dorsal.bridge.deck" at position examples/ship.kni:26:7
Could not link next label "dorsal.airlock" at position examples/ship.kni:28:7
Could not link next label "ventral.airlock" at position examples/ship.kni:32:5
Could not link next label "aft.airlock" at position examples/ship.kni:35:5
Could not link next label "forward.bridge.deck" at position examples/ship.kni:40:7
Could not link next label "forward.airlock" at position examples/ship.kni:42:7
internal story error
examples/space.kni:61:3: Expected "[]" brackets in option but got to the end of the block.

Metadata

Metadata

Assignees

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