Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
dmt
Commits
556e8bed
Commit
556e8bed
authored
Sep 30, 2019
by
Thanassis Tsiodras
Browse files
Use the Ada/C-friendly versions of the type names.
parent
ef628f7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dmt/commonPy/asnParser.py
View file @
556e8bed
...
...
@@ -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
()).
add
(
name
.
replace
(
'-'
,
'_'
)
)
return
(
name
,
newNode
)
...
...
Thanassis Tsiodras
@ttsiodras
mentioned in commit
1b0c4f3d
·
Sep 30, 2019
mentioned in commit
1b0c4f3d
mentioned in commit 1b0c4f3d1828fc7ed58da8b811b3546466051752
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment