Commit a77cd4a7 authored by POTTIER Francois's avatar POTTIER Francois

Moving things around in parserMessages.messages.

parent 76517283
......@@ -6,6 +6,12 @@ Either a declaration or %% is expected at this point.
# ----------------------------------------------------------------------------
HEADER UID
Either another declaration or %% is expected at this point.
# ----------------------------------------------------------------------------
TYPE UID
TYPE OCAMLTYPE TYPE
TYPE OCAMLTYPE UID PREC
......@@ -71,15 +77,15 @@ Examples of well-formed declarations:
# ----------------------------------------------------------------------------
HEADER UID
PERCENTPERCENT TYPE
Either another declaration or %% is expected at this point.
Either a rule or %% is expected at this point.
# ----------------------------------------------------------------------------
PERCENTPERCENT TYPE
PERCENTPERCENT UID COLON ACTION TYPE
Either a rule or %% is expected at this point.
Either another rule or %% is expected at this point.
# ----------------------------------------------------------------------------
......@@ -133,12 +139,6 @@ Examples of well-formed rules:
# ----------------------------------------------------------------------------
PERCENTPERCENT UID COLON ACTION TYPE
Either another rule or %% is expected at this point.
# ----------------------------------------------------------------------------
PERCENTPERCENT UID COLON UID TYPE
PERCENTPERCENT UID COLON LID TYPE
PERCENTPERCENT UID COLON LID EQUAL TYPE
......@@ -225,6 +225,8 @@ PERCENTPERCENT UID COLON ACTION PREC UID TYPE
Either another rule
or another production | ...
is expected at this point.
Examples of well-formed rules:
option(X): { None } | x = X { Some x }
# ----------------------------------------------------------------------------
......@@ -240,6 +242,7 @@ Examples of well-formed actual parameters:
separated_list(COMMA, expr)
# Omitting the fact that an anonymous rule is a valid actual parameter...
# Also omitting the subtle distinctions between lax_actual, actual, etc.
# ----------------------------------------------------------------------------
......@@ -254,6 +257,8 @@ Examples of well-formed actual parameters:
option(expr)
separated_list(COMMA, expr)
# ----------------------------------------------------------------------------
PERCENTPERCENT UID COLON UID LPAREN ACTION PREC UID UID
Either another production | ...
......
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