Skip to content

Commit a6b57e5

Browse files
committed
Do a real string unescape for the Include annotation
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20067 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 9941187 commit a6b57e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/BackEnd/SimCodeUtil.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9415,7 +9415,7 @@ algorithm
94159415
equation
94169416
SCode.MOD(binding = SOME((Absyn.STRING(inc), _))) =
94179417
Mod.getUnelabedSubMod(inMod, "Include");
9418-
inc_1 = System.stringReplace(inc, "\\\"", "\"");
9418+
inc_1 = System.unescapedString(inc);
94199419
then
94209420
{inc_1};
94219421
else {};

0 commit comments

Comments
 (0)