Parcel/samples/sample_ast_02.parcel

7 lines
174 B
Plaintext

## Sample for testing if the AST parser can handle errors.
# There's an item separator missing after <string>.
<root> = "{", <string> "test", <leaf> | <leaf>;
<leaf> = "}"