peg.ebnf: different (better) error for peg.ebnf.semantic-action.

locals-and-roots
John Benediktsson 2016-03-30 13:55:21 -07:00
parent fc8830b03e
commit 0f4f1058ce
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ ARTICLE: "peg.ebnf.semantic-action" "EBNF Semantic Action"
{ $example
"USING: prettyprint peg.ebnf math math.parser ;"
"\"2\" [EBNF rule=[0-9] ?[ digit> odd? ]? EBNF] ."
"Sequence index out of bounds\nindex 0\nseq V{ }"
"Peg parsing error at character position 0.\nExpected \nGot '2'"
}
}
;