Commit 4b8f67eb authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix syntax for procedure declarations

Allow semi after the "returns" keyword.
parent 5230794f
This diff is collapsed.
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2016-08-22 11:16:15
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2016-09-16 14:37:44
import sys
from antlr3 import *
......
This diff is collapsed.
......@@ -298,7 +298,7 @@ procedure
procedure_result
: ('->' | RETURNS)
variable_id?
sort
sort end?
-> ^(RETURNS variable_id? sort)
;
......
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