From: jkauttio Date: Fri, 8 Jan 2016 09:00:47 +0000 (+0000) Subject: Fix a small bug in mdl parser X-Git-Tag: v1.29.0~46 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1c069e56a643976278550966ae9741251aa106f2;p=simantics%2Fsysdyn.git Fix a small bug in mdl parser refs #5644 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@32225 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/modelImport/MdlUtil.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/modelImport/MdlUtil.java index c1cf7fb3..6fd3cf65 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/modelImport/MdlUtil.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/modelImport/MdlUtil.java @@ -150,7 +150,6 @@ public class MdlUtil { parameters = parameters.replaceAll("-", ".-"); result.append(parameters); offset = closing; - offset = matcher.end(); } else if (function.equalsIgnoreCase("if then else")) { result.append("IFTHENELSE(");