Commit da4ca654 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
parents 44f3df7d da7c1258
......@@ -1728,10 +1728,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()
......
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