Commit 2ad56216 authored by POTTIER Francois's avatar POTTIER Francois

Renamed [actual_parameter] to [actual] everywhere.

parent a8207ca1
...@@ -76,7 +76,7 @@ declaration: ...@@ -76,7 +76,7 @@ declaration:
| START nonterminals | START nonterminals
{ List.map (Positions.map (fun nonterminal -> DStart nonterminal)) $2 } { List.map (Positions.map (fun nonterminal -> DStart nonterminal)) $2 }
| TYPE OCAMLTYPE actual_parameters | TYPE OCAMLTYPE actuals
{ List.map (Positions.map (fun nt -> DType ($2, nt))) { List.map (Positions.map (fun nt -> DType ($2, nt)))
(List.map Parameters.with_pos $3) } (List.map Parameters.with_pos $3) }
...@@ -207,28 +207,28 @@ formal_parameters: ...@@ -207,28 +207,28 @@ formal_parameters:
| symbol COMMA formal_parameters | symbol COMMA formal_parameters
{ Positions.value $1 :: $3 } { Positions.value $1 :: $3 }
optional_actual_parameters: optional_actuals:
/* epsilon */ /* epsilon */
{ [] } { [] }
| LPAREN actual_parameters_comma RPAREN | LPAREN actuals_comma RPAREN
{ $2 } { $2 }
actual_parameters_comma: actuals_comma:
actual_parameter actual
{ [ $1 ] } { [ $1 ] }
| actual_parameter COMMA actual_parameters_comma | actual COMMA actuals_comma
{ $1 :: $3 } { $1 :: $3 }
actual_parameter: actual:
symbol optional_actual_parameters symbol optional_actuals
{ Parameters.app $1 $2 } { Parameters.app $1 $2 }
| actual_parameter modifier | actual modifier
{ ParameterApp ($2, [ $1 ]) } { ParameterApp ($2, [ $1 ]) }
actual_parameters: actuals:
/* epsilon */ /* epsilon */
{ [] } { [] }
| actual_parameters optional_comma actual_parameter | actuals optional_comma actual
{ $3::$1 } { $3::$1 }
optional_bar: optional_bar:
...@@ -319,9 +319,9 @@ producers: ...@@ -319,9 +319,9 @@ producers:
binding. */ binding. */
producer: producer:
| actual_parameter | actual
{ None, $1 } { None, $1 }
| LID EQUAL actual_parameter | LID EQUAL actual
{ Some $1, $3 } { Some $1, $3 }
%% %%
......
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