Commit a379d873 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix typo in Ada backend

parent 552a8b55
......@@ -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 signame == 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(signame)
# Add (optional) PI parameter (only one is possible in TASTE PI)
if 'type' in signal:
typename = type_name(signal['type'])
......
......@@ -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:
......
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