Commit c52dd21b authored by POTTIER Francois's avatar POTTIER Francois

Whitespace normalization.

parent 9c0d16ec
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: UID grammar: UID
Either a declaration or %% is expected at this point. Either a declaration or %% is expected at this point.
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: HEADER UID grammar: HEADER UID
Either another declaration or %% is expected at this point. Either another declaration or %% is expected at this point.
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: TYPE UID grammar: TYPE UID
grammar: TYPE OCAMLTYPE TYPE grammar: TYPE OCAMLTYPE TYPE
grammar: TYPE OCAMLTYPE UID PREC grammar: TYPE OCAMLTYPE UID PREC
grammar: TYPE OCAMLTYPE UID LPAREN TYPE grammar: TYPE OCAMLTYPE UID LPAREN TYPE
grammar: TYPE OCAMLTYPE UID COMMA TYPE grammar: TYPE OCAMLTYPE UID COMMA TYPE
grammar: TYPE OCAMLTYPE UID LPAREN UID UID grammar: TYPE OCAMLTYPE UID LPAREN UID UID
grammar: TYPE OCAMLTYPE UID LPAREN UID COMMA TYPE grammar: TYPE OCAMLTYPE UID LPAREN UID COMMA TYPE
grammar: TYPE OCAMLTYPE UID PLUS RPAREN grammar: TYPE OCAMLTYPE UID PLUS RPAREN
grammar: ON_ERROR_REDUCE TYPE grammar: ON_ERROR_REDUCE TYPE
# %type<ocamltype> and %on_error_reduce are both followed with clist(strict_actual), # %type<ocamltype> and %on_error_reduce are both followed with clist(strict_actual),
...@@ -36,10 +36,10 @@ Examples of well-formed declarations: ...@@ -36,10 +36,10 @@ Examples of well-formed declarations:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: TOKEN TYPE grammar: TOKEN TYPE
grammar: TOKEN OCAMLTYPE TYPE grammar: TOKEN OCAMLTYPE TYPE
grammar: TOKEN UID STAR grammar: TOKEN UID STAR
grammar: TOKEN UID COMMA TYPE grammar: TOKEN UID COMMA TYPE
Ill-formed %token declaration. Ill-formed %token declaration.
Examples of well-formed declarations: Examples of well-formed declarations:
...@@ -49,10 +49,10 @@ Examples of well-formed declarations: ...@@ -49,10 +49,10 @@ Examples of well-formed declarations:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: START UID grammar: START UID
grammar: START OCAMLTYPE LEFT grammar: START OCAMLTYPE LEFT
grammar: START LID UID grammar: START LID UID
grammar: START LID COMMA UID grammar: START LID COMMA UID
Ill-formed %start declaration. Ill-formed %start declaration.
A start symbol must begin with a lowercase letter. A start symbol must begin with a lowercase letter.
...@@ -63,9 +63,9 @@ Examples of well-formed declarations: ...@@ -63,9 +63,9 @@ Examples of well-formed declarations:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: RIGHT TYPE grammar: RIGHT TYPE
grammar: RIGHT UID STAR grammar: RIGHT UID STAR
grammar: RIGHT UID COMMA TYPE grammar: RIGHT UID COMMA TYPE
Ill-formed precedence declaration. Ill-formed precedence declaration.
Examples of well-formed declarations: Examples of well-formed declarations:
...@@ -76,7 +76,7 @@ Examples of well-formed declarations: ...@@ -76,7 +76,7 @@ Examples of well-formed declarations:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PARAMETER UID grammar: PARAMETER UID
Ill-formed %parameter declaration. Ill-formed %parameter declaration.
Examples of well-formed declarations: Examples of well-formed declarations:
...@@ -84,21 +84,21 @@ Examples of well-formed declarations: ...@@ -84,21 +84,21 @@ Examples of well-formed declarations:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT TYPE grammar: PERCENTPERCENT TYPE
Either a rule or %% is expected at this point. Either a rule or %% is expected at this point.
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON ACTION TYPE grammar: PERCENTPERCENT UID COLON ACTION TYPE
Either another rule or %% is expected at this point. Either another rule or %% is expected at this point.
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT PUBLIC TYPE grammar: PERCENTPERCENT PUBLIC TYPE
grammar: PERCENTPERCENT INLINE TYPE grammar: PERCENTPERCENT INLINE TYPE
grammar: PERCENTPERCENT PUBLIC INLINE TYPE grammar: PERCENTPERCENT PUBLIC INLINE TYPE
Ill-formed rule. Ill-formed rule.
%inline, %public, or a non-terminal symbol is expected at this point. %inline, %public, or a non-terminal symbol is expected at this point.
...@@ -109,7 +109,7 @@ Examples of well-formed rules: ...@@ -109,7 +109,7 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID UID grammar: PERCENTPERCENT UID UID
Ill-formed rule. Ill-formed rule.
Either a parenthesized, comma-delimited list of formal parameters Either a parenthesized, comma-delimited list of formal parameters
...@@ -121,9 +121,9 @@ Examples of well-formed rules: ...@@ -121,9 +121,9 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID LPAREN TYPE grammar: PERCENTPERCENT UID LPAREN TYPE
grammar: PERCENTPERCENT UID LPAREN UID UID grammar: PERCENTPERCENT UID LPAREN UID UID
grammar: PERCENTPERCENT UID LPAREN UID COMMA TYPE grammar: PERCENTPERCENT UID LPAREN UID COMMA TYPE
Ill-formed rule. Ill-formed rule.
A comma-delimited list of formal parameters is expected at this point. A comma-delimited list of formal parameters is expected at this point.
...@@ -133,10 +133,10 @@ Examples of well-formed rules: ...@@ -133,10 +133,10 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON TYPE grammar: PERCENTPERCENT UID COLON TYPE
grammar: PERCENTPERCENT UID COLON BAR TYPE grammar: PERCENTPERCENT UID COLON BAR TYPE
grammar: PERCENTPERCENT UID COLON ACTION BAR TYPE grammar: PERCENTPERCENT UID COLON ACTION BAR TYPE
grammar: PERCENTPERCENT UID COLON UID BAR TYPE grammar: PERCENTPERCENT UID COLON UID BAR TYPE
Ill-formed rule. Ill-formed rule.
A list of productions is expected at this point. A list of productions is expected at this point.
...@@ -147,11 +147,11 @@ Examples of well-formed rules: ...@@ -147,11 +147,11 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON UID TYPE grammar: PERCENTPERCENT UID COLON UID TYPE
grammar: PERCENTPERCENT UID COLON LID TYPE grammar: PERCENTPERCENT UID COLON LID TYPE
grammar: PERCENTPERCENT UID COLON LID EQUAL TYPE grammar: PERCENTPERCENT UID COLON LID EQUAL TYPE
grammar: PERCENTPERCENT UID COLON UID PLUS TYPE grammar: PERCENTPERCENT UID COLON UID PLUS TYPE
grammar: PERCENTPERCENT UID COLON LID EQUAL UID PLUS TYPE grammar: PERCENTPERCENT UID COLON LID EQUAL UID PLUS TYPE
Ill-formed production. Ill-formed production.
A production is a sequence of producers, followed with a semantic action. A production is a sequence of producers, followed with a semantic action.
...@@ -172,11 +172,11 @@ Examples of well-formed producers: ...@@ -172,11 +172,11 @@ Examples of well-formed producers:
# to reduce to actual or lax_actual. Let's just back up to a safe level of # to reduce to actual or lax_actual. Let's just back up to a safe level of
# abstraction and say this is an ill-formed production. # abstraction and say this is an ill-formed production.
grammar: PERCENTPERCENT UID COLON UID LPAREN UID TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN UID TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN UID STAR TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN UID STAR TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN UID LPAREN LID RPAREN TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN UID LPAREN LID RPAREN TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN LID TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN LID TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION BAR TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION BAR TYPE
Ill-formed production. Ill-formed production.
Maybe you meant to close a parenthesis at this point? Maybe you meant to close a parenthesis at this point?
...@@ -193,13 +193,13 @@ Examples of well-formed producers: ...@@ -193,13 +193,13 @@ Examples of well-formed producers:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION UID grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION UID
# In the non-canonical automaton, this is a tricky case where, looking at the # In the non-canonical automaton, this is a tricky case where, looking at the
# description of the state, it seems that only COMMA and RPAREN can follow # description of the state, it seems that only COMMA and RPAREN can follow
# here. But in fact, other tokens are possible, such as BAR, simply because # here. But in fact, other tokens are possible, such as BAR, simply because
# they will NOT take us into this state. In the canonical automaton, the list # they will NOT take us into this state. In the canonical automaton, the list
# of possibilities is explicit in the lookahead sets. # of possibilities is explicit in the lookahead sets.
grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION PREC UID UID grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION PREC UID UID
# In the first case above, we may expect a %prec annotation, whereas in the # In the first case above, we may expect a %prec annotation, whereas in the
# second case above, we have just seen it. In the error message, we merge # second case above, we have just seen it. In the error message, we merge
# these two situations and do not mention the possibility of a %prec # these two situations and do not mention the possibility of a %prec
...@@ -211,9 +211,9 @@ is expected at this point. ...@@ -211,9 +211,9 @@ is expected at this point.
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON PREC TYPE grammar: PERCENTPERCENT UID COLON PREC TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION PREC TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN ACTION PREC TYPE
grammar: PERCENTPERCENT UID COLON ACTION PREC TYPE grammar: PERCENTPERCENT UID COLON ACTION PREC TYPE
Ill-formed %prec annotation. Ill-formed %prec annotation.
A symbol is expected at this point. A symbol is expected at this point.
...@@ -222,8 +222,8 @@ Examples of well-formed annotations: ...@@ -222,8 +222,8 @@ Examples of well-formed annotations:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON UID LPAREN TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN UID COMMA TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN UID COMMA TYPE
Ill-formed rule. Ill-formed rule.
A comma-delimited list of actual parameters is expected at this point. A comma-delimited list of actual parameters is expected at this point.
...@@ -233,7 +233,7 @@ Examples of well-formed rules: ...@@ -233,7 +233,7 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON PREC LID UID grammar: PERCENTPERCENT UID COLON PREC LID UID
Ill-formed rule. Ill-formed rule.
Either a semantic action { ... } Either a semantic action { ... }
...@@ -244,7 +244,7 @@ Examples of well-formed rules: ...@@ -244,7 +244,7 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID LPAREN UID RPAREN BAR grammar: PERCENTPERCENT UID LPAREN UID RPAREN BAR
Ill-formed rule. Ill-formed rule.
A colon is expected at this point. A colon is expected at this point.
...@@ -253,7 +253,7 @@ Examples of well-formed rules: ...@@ -253,7 +253,7 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: PERCENTPERCENT UID COLON ACTION PREC UID TYPE grammar: PERCENTPERCENT UID COLON ACTION PREC UID TYPE
Either another rule Either another rule
or another production | ... or another production | ...
...@@ -263,8 +263,8 @@ Examples of well-formed rules: ...@@ -263,8 +263,8 @@ Examples of well-formed rules:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: TYPE OCAMLTYPE UID LPAREN UID LPAREN TYPE grammar: TYPE OCAMLTYPE UID LPAREN UID LPAREN TYPE
grammar: PERCENTPERCENT UID COLON UID LPAREN UID LPAREN TYPE grammar: PERCENTPERCENT UID COLON UID LPAREN UID LPAREN TYPE
Ill-formed list of actual parameters. Ill-formed list of actual parameters.
A comma-delimited list of actual parameters is expected at this point. A comma-delimited list of actual parameters is expected at this point.
...@@ -279,7 +279,7 @@ Examples of well-formed actual parameters: ...@@ -279,7 +279,7 @@ Examples of well-formed actual parameters:
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
grammar: TYPE OCAMLTYPE UID LPAREN UID PLUS UID grammar: TYPE OCAMLTYPE UID LPAREN UID PLUS UID
Ill-formed list of actual parameters. Ill-formed list of actual parameters.
A modifier, a closing parenthesis, or a comma is expected at this point. A modifier, a closing parenthesis, or a comma 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