Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
a379d873
Commit
a379d873
authored
Nov 23, 2015
by
Maxime Perrotin
Browse files
Fix typo in Ada backend
parent
552a8b55
Changes
2
Hide whitespace changes
Inline
Side-by-side
opengeode/AdaGenerator.py
View file @
a379d873
...
...
@@ -396,11 +396,11 @@ package {process_name} is'''.format(process_name=process_name,
for
signal
in
process
.
input_signals
+
[
{
'name'
:
timer
.
lower
()}
for
timer
in
process
.
timers
]:
signame
=
signal
.
get
(
'name'
,
u
'START'
)
if
name
==
u
'START'
:
if
sig
name
==
u
'START'
:
continue
pi_header
=
u
'procedure {sig_name}'
.
format
(
sig_name
=
signame
)
param_name
=
signal
.
get
(
'param_name'
)
\
or
u
'{}_param'
.
format
(
name
)
or
u
'{}_param'
.
format
(
sig
name
)
# Add (optional) PI parameter (only one is possible in TASTE PI)
if
'type'
in
signal
:
typename
=
type_name
(
signal
[
'type'
])
...
...
tests/regression/test-nocif2/Makefile
View file @
a379d873
...
...
@@ -10,20 +10,13 @@ test-parse:
test-ada
:
$(OPENGEODE)
DemoDeviceDSAP_fixed.pr
--toAda
$(ASN1SCC)
-Ada
dv.asn
-typePrefix
asn1Scc
-equal
$(GNATMAKE)
-O
$(O)
-c
*
.adb
$(GNATBIND)
-n
demodemodevicedsap.ali
test-c
:
$(OPENGEODE)
DemoDeviceDSAP_fixed.pr
--toC
$(ASN1SCC)
-c
dv.asn
-typePrefix
asn1Scc
-equal
$(CC)
-O
$(O)
-c
*
.c
test-llvm
:
$(OPENGEODE)
DemoDeviceDSAP_fixed.pr
--llvm
-O
$(O)
$(LLC)
*
.ll
$(CC)
-O
$(O)
-c
*
.s
coverage
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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