Commit 62a1277f authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix Ada generator when using simulation mode

parent d2f03721
...@@ -142,6 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com ...@@ -142,6 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog Changelog
========= =========
1.4.5 (07/2016)
- Code generation fix for the simulator
1.4.4 (06/2016) 1.4.4 (06/2016)
- Minor bugfix in Ada backend to support typeless systems - Minor bugfix in Ada backend to support typeless systems
......
...@@ -772,7 +772,7 @@ package {process_name} is'''.format(process_name=process_name, ...@@ -772,7 +772,7 @@ package {process_name} is'''.format(process_name=process_name,
# XXX add to C backend # XXX add to C backend
if process.cs_mapping: if process.cs_mapping:
taste_template.append('-- Process continuous signals') taste_template.append('-- Process continuous signals')
taste_template.append('if ctxt.initDone then') taste_template.append('if {}.initDone then'.format(LPREFIX))
taste_template.append("Check_Queue(msgPending'access);") taste_template.append("Check_Queue(msgPending'access);")
taste_template.append('end if;') taste_template.append('end if;')
ads_template.append( ads_template.append(
......
...@@ -134,7 +134,7 @@ except ImportError: ...@@ -134,7 +134,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse'] __all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '1.4.4' __version__ = '1.4.5'
if hasattr(sys, 'frozen'): if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated) # Detect if we are running on Windows (py2exe-generated)
......
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