Commit d865ba64 authored by Maxime Perrotin's avatar Maxime Perrotin

Generate data implementations to have less warnings

parent 8d0d3e1d
......@@ -463,6 +463,8 @@ end Stream_Element_Buffer;
if asnTypename in typesUnusableAsInterfaceParameters:
o.write(' TASTE::Forbid_in_PI => true;\n')
o.write('END ' + cleanName + ';\n\n')
o.write('DATA IMPLEMENTATION ' + cleanName + '.impl\n')
o.write('END ' + cleanName + '.impl;\n\n')
if os.getenv('UPD') is None:
o.write('DATA ' + cleanName + '_Buffer_Max\n')
o.write('END ' + cleanName + '_Buffer_Max;\n\n')
......@@ -503,7 +505,7 @@ end Stream_Element_Buffer;
if node._isArtificial:
continue
cleanName = cleanNameAsAADLWants(asnTypename)
o.write(' %s : DATA %s;\n' % (cleanName, cleanName))
o.write(' %s : DATA %s.impl;\n' % (cleanName, cleanName))
o.write('END Taste_DataView.others;\n')
listOfAsn1Files = {}
......
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