Commit 3cce9b18 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Rendering of process comment

parent 1f27ed79
......@@ -2234,6 +2234,8 @@ def process_definition(root, parent=None, context=None):
process.composite_states.append(comp)
elif child.type == lexer.REFERENCED:
process.referenced = True
elif child.type == lexer.COMMENT:
process.comment, _, _ = end(child)
else:
warnings.append('Unsupported process definition child: ' +
sdl92Parser.tokenNames[child.type] +
......
......@@ -218,7 +218,7 @@ process_definition
(text_area | procedure | composite_state)*
processBody? ENDPROCESS process_id?
end
-> ^(PROCESS cif? process_id number_of_instances?
-> ^(PROCESS cif? process_id number_of_instances? end?
text_area* procedure* composite_state* processBody?);
......
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2014-07-07 18:45:53
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2014-07-10 16:56:08
import sys
from antlr3 import *
......
This diff is collapsed.
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