Commit 327f5c86 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

The 'artificial-ity' of a type is defined at the root-levle of the XML types.

parent 416b8c82
......@@ -271,7 +271,7 @@ def VerifyAndFixAST() -> Dict[str, str]:
target._asnFilename = originalNode._asnFilename
if isinstance(node, AsnInt) and Min is not None and Max is not None:
target._range = [Min, Max] # type: ignore
target._isArtificial = originalNode._isArtificial
target._isArtificial = originalNode._isArtificial
elif isinstance(node, AsnInt) and Min is not None and Max is not None:
target = copy.copy(node) # we need to keep the Min/Max
target._range = [Min, Max]
......
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