Commit 9de1a968 authored by Timothy Bourke's avatar Timothy Bourke Committed by Gwenaël Delaval

Allow (optional) semicolon after returns clause

parent 685c3aa8
......@@ -198,9 +198,11 @@ label_ty:
returns: RETURNS | EQUAL {}
opt_semicolon: | /* empty */ | SEMICOL {}
| u=unsafe n=node_or_fun f=ident pc=node_params LPAREN i=in_params RPAREN
returns LPAREN o=out_params RPAREN
returns LPAREN o=out_params RPAREN opt_semicolon
c=contract b=block(LET) TEL
{{ n_name = f;
n_stateful = n;
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