Commit e22b1a28 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras Committed by 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 8a3e83c1
......@@ -730,8 +730,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"))])
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