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
6e4f5335
Commit
6e4f5335
authored
Sep 30, 2019
by
Thanassis Tsiodras
Browse files
Properly create Ada/C-friendly names in the Ada_Package_Name fields.
parent
1b0c4f3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dmt/asn2aadlPlus.py
View file @
6e4f5335
...
...
@@ -346,7 +346,7 @@ def main():
# since the information is extracted from the base ASN1SCC AST.
for
asnModuleID
,
setOfTypenames
in
asnParser
.
g_adaUses
.
items
():
for
typeName
in
setOfTypenames
:
g_AdaPackageNameOfType
[
typeName
]
=
asnModuleID
g_AdaPackageNameOfType
[
typeName
]
=
asnModuleID
.
replace
(
'-'
,
'_'
)
# A, those good old days... I could calculate the buffer size for BER (SIZ), and then compare
# it to the size for Native (SIZ2, see above) and the max of the two suffices for any conf of the message.
...
...
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