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
59caf3c3
Commit
59caf3c3
authored
Sep 06, 2019
by
Maxime Perrotin
Browse files
Add --equal to DMT when calling ASN.1 compiler for Ada
parent
c20e878e
Changes
1
Hide whitespace changes
Inline
Side-by-side
dmt/A_mappers/ada_A_mapper.py
View file @
59caf3c3
...
...
@@ -50,7 +50,7 @@ def OnStartup(unused_modelingLanguage: str, asnFiles: List[str], outputDir: str,
extraFlags
=
os
.
getenv
(
"ASN1SCC_FLAGS"
)
or
""
os
.
system
(
(
"mono "
if
sys
.
platform
.
startswith
(
'linux'
)
else
""
)
+
"
\"
{}
\"
-typePrefix asn1Scc -Ada {} -o
\"
"
.
format
(
asn1SccPath
,
extraFlags
)
+
"
\"
{}
\"
-typePrefix asn1Scc
-equal
-Ada {} -o
\"
"
.
format
(
asn1SccPath
,
extraFlags
)
+
outputDir
+
"
\"
\"
"
+
"
\"
\"
"
.
join
(
asnFiles
)
+
"
\"
"
)
# os.system("rm -f \"" + outputDir + "\"/*.adb")
...
...
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