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
876969f6
Commit
876969f6
authored
Jun 05, 2017
by
Maxime Perrotin
Browse files
Merge
https://github.com/esa/opengeode
parents
25e0eaea
69686408
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
876969f6
...
...
@@ -141,6 +141,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.
5.37 (05/2017)
-
Fix Ada backend bug with sequence of literals in nested states
1.
5.36 (05/2017)
-
Fix Unicode issues in Ada backend
...
...
opengeode/Helper.py
View file @
876969f6
...
...
@@ -367,11 +367,11 @@ def rename_everything(ast, from_name, to_name):
in the scope of a composite state, so that they do not overwrite
a variable with the same name declared at a higher scope.
'''
#
LOG.debug ('rename_everything - ' + str(ast) + " - ")
#
try:
#
LOG.debug(ast.inputString)
#
except:
#
pass
LOG
.
debug
(
'rename_everything - '
+
str
(
ast
)
+
" - "
)
try
:
LOG
.
debug
(
ast
.
inputString
)
except
:
pass
_
,
_
,
_
=
ast
,
from_name
,
to_name
...
...
@@ -507,6 +507,14 @@ def _rename_expr(ast, from_name, to_name):
rename_everything
(
ast
.
right
,
from_name
,
to_name
)
@
rename_everything
.
register
(
ogAST
.
PrimSequenceOf
)
def
_rename_prim_seq_of
(
ast
,
from_name
,
to_name
):
''' List of primary '''
for
each
in
ast
.
value
:
rename_everything
(
each
,
from_name
,
to_name
)
@
rename_everything
.
register
(
ogAST
.
PrimIndex
)
def
_rename_index
(
ast
,
from_name
,
to_name
):
''' Index of an array '''
...
...
opengeode/opengeode.py
View file @
876969f6
...
...
@@ -139,7 +139,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'1.5.3
6
'
__version__
=
'1.5.3
7
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
Write
Preview
Supports
Markdown
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