Commit ef628f7f authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Use the Ada/C-friendly versions of the type names.

parent e5a2a47b
......@@ -810,7 +810,7 @@ def VisitTypeAssignment(newModule: Module, xmlTypeAssignment: Element) -> Tuple[
utility.panic("You are using an older version of ASN1SCC - please upgrade.")
newNode._isArtificial = isArtificial == "True"
name = GetAttr(xmlTypeAssignment, "Name")
g_adaUses.setdefault(newModule._id, set()).add(name)
g_adaUses.setdefault(newModule._id, set()).add(name.replace('-', '_')
return (name, newNode)
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