Commit b95489d4 authored by POTTIER Francois's avatar POTTIER Francois

Fix a syntax error message by indicating that another production is permitted.

Simplify two messages by not indicating that %% or EOF are permitted.
parent 7a0a186f
......@@ -86,13 +86,18 @@ Examples of well-formed declarations:
grammar: PERCENTPERCENT TYPE
grammar: PERCENTPERCENT SEMI TYPE
Either a rule or %% is expected at this point.
# Do not mention that %% or EOF would be accepted at this point.
A rule is expected at this point.
# ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON ACTION TYPE
Either another rule or %% is expected at this point.
# Do not mention that %% or EOF would be accepted at this point.
Either another production | ...
or another rule is expected at this point.
# ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment