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

No more _Set functions for choice types

(ASN1SCC_V4 change)
parent 84c5f773
......@@ -2307,7 +2307,7 @@ def _choiceitem(choice):
ogAST.PrimStringLiteral)):
choice_str = array_content(choice.value['value'], choice_str,
find_basic_type(choice.value['value'].exprType))
ada_string = u'{cType}_{opt}_set({expr})'.format(
ada_string = u'(Kind => {opt}_PRESENT, {opt} => {expr})'.format(
cType=type_name(choice.exprType),
opt=choice.value['choice'],
expr=choice_str)
......
Supports Markdown
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