Commit d815f893 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix syntax for procedure declarations

Allow semi after the "returns" keyword.
parent 5230794f
......@@ -142,6 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.5.11 (09/2016)
- Allow semicolon in the declaration of procedures after RETURNS keyword
1.5.10 (09/2016)
- readonly mode with more restrictions
......
This diff is collapsed.
......@@ -138,7 +138,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '1.5.10'
__version__ = '1.5.11'
if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated)
......
# $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