Skip to content

Commit

Permalink
Do a real string unescape for the Include annotation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20067 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 9, 2014
1 parent 9941187 commit a6b57e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/SimCodeUtil.mo
Expand Up @@ -9415,7 +9415,7 @@ algorithm
equation
SCode.MOD(binding = SOME((Absyn.STRING(inc), _))) =
Mod.getUnelabedSubMod(inMod, "Include");
inc_1 = System.stringReplace(inc, "\\\"", "\"");
inc_1 = System.unescapedString(inc);
then
{inc_1};
else {};
Expand Down

0 comments on commit a6b57e5

Please sign in to comment.