Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
3cce9b18
Commit
3cce9b18
authored
Jul 10, 2014
by
Maxime Perrotin
Browse files
Rendering of process comment
parent
1f27ed79
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
ogParser.py
View file @
3cce9b18
...
...
@@ -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
]
+
...
...
sdl92.g
View file @
3cce9b18
...
...
@@ -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?);
...
...
sdl92Lexer.py
View file @
3cce9b18
# $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
*
...
...
sdl92Parser.py
View file @
3cce9b18
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment