Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
orchestrator
Commits
da7c1258
Commit
da7c1258
authored
Jul 25, 2018
by
Maxime Perrotin
Browse files
Support extra flags for asn1scc
parent
b2b752da
Changes
1
Hide whitespace changes
Inline
Side-by-side
orchestrator/taste-orchestrator.py
View file @
da7c1258
...
...
@@ -1724,10 +1724,11 @@ def InvokeASN1Compiler(asn1Grammar, baseASN, acnFile, baseACN, isNewGrammar, bCo
# Invoke compiler
if
isNewGrammar
:
extraFlags
=
os
.
getenv
(
"ASN1SCC_FLAGS"
)
or
""
if
bCoverage
:
mysystem
(
"mono
\"
$DMT
\"
/asn1scc/asn1.exe -c -uPER -typePrefix asn1Scc -ACN
\"
"
+
baseACN
+
"
\"
\"
"
+
baseASN
+
"
\"
"
)
mysystem
(
"mono
\"
$DMT
\"
/asn1scc/asn1.exe
{}
-c -uPER -typePrefix asn1Scc -ACN
\"
"
.
format
(
extraFlags
)
+
baseACN
+
"
\"
\"
"
+
baseASN
+
"
\"
"
)
else
:
mysystem
(
"mono
\"
$DMT
\"
/asn1scc/asn1.exe -c -uPER -typePrefix asn1Scc -ACN
\"
"
+
baseACN
+
"
\"
\"
"
+
baseASN
+
"
\"
"
)
mysystem
(
"mono
\"
$DMT
\"
/asn1scc/asn1.exe
{}
-c -uPER -typePrefix asn1Scc -ACN
\"
"
.
format
(
extraFlags
)
+
baseACN
+
"
\"
\"
"
+
baseASN
+
"
\"
"
)
else
:
print
"No need to reinvoke the ASN.1 compiler"
sys
.
stdout
.
flush
()
...
...
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