Commit 35a2c989 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Don't warn about OPTIONAL fields anymore.

The user can't do anything about this; if the Functional block is written
with a tool that doesn't support OPTIONAL types, then the user/designer
should decide how to handle this.
parent 0dcce078
Pipeline #2582 passed with stage
in 3 minutes and 4 seconds
......@@ -739,8 +739,6 @@ def CommonSeqSetChoice(
opti = GetAttr(x, "Optional")
bAlwaysPresent = GetAttr(x, "bAlwaysPresent")
bAlwaysAbsent = GetAttr(x, "bAlwaysAbsent")
if opti and opti == "True":
utility.warn("OPTIONAL attribute ignored by A/B mappers (for field contained in %s,%s)" % (newModule._asnFilename, lineNo))
enumID = GetAttr(x, "EnumID")
myMembers.append([GetAttr(x, "VarName"), GenericFactory(newModule, GetChild(x, "Type"))])
myMembers[-1].append(enumID)
......
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