Skip to content

Commit f10cce6

Browse files
committed
Fix dumpXMLDAE when using the NF
- Make sure the NF is not enabled while running dumpXMLDAE since it still uses the old frontend.
1 parent 1c153a9 commit f10cce6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

OMCompiler/Compiler/Script/CevalScriptBackend.mo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5770,9 +5770,12 @@ protected function dumpXMLDAEFrontEnd
57705770
output FCore.Cache outCache;
57715771
output FCore.Graph outEnv;
57725772
output DAE.DAElist outDae;
5773+
protected
5774+
Boolean nfinst = FlagsUtil.set(Flags.SCODE_INST, false);
57735775
algorithm
57745776
(outCache, outEnv, _, outDae) := Inst.instantiateClass(inCache, InnerOuter.emptyInstHierarchy, SymbolTable.getSCode(), inClassName);
57755777
outDae := DAEUtil.transformationsBeforeBackend(outCache,outEnv,outDae);
5778+
FlagsUtil.set(Flags.SCODE_INST, nfinst);
57765779
end dumpXMLDAEFrontEnd;
57775780

57785781
protected function dumpXMLDAE " author: fildo

0 commit comments

Comments
 (0)