Commit 0089a5b1 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Properly create Ada/C-friendly names in the Ada_Package_Name fields.

parent d746e726
......@@ -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.replace('-', '_')
g_adaUses.setdefault(newModule._id, set())
return (name, newNode)
......
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