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 import sys
from antlr3 import * from antlr3 import *
......
This diff is collapsed.
...@@ -298,7 +298,7 @@ procedure ...@@ -298,7 +298,7 @@ procedure
procedure_result procedure_result
: ('->' | RETURNS) : ('->' | RETURNS)
variable_id? variable_id?
sort sort end?
-> ^(RETURNS variable_id? sort) -> ^(RETURNS variable_id? sort)
; ;
......
Supports Markdown
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