]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Fix a small bug in mdl parser
authorjkauttio <jkauttio@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 8 Jan 2016 09:00:47 +0000 (09:00 +0000)
committerjkauttio <jkauttio@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 8 Jan 2016 09:00:47 +0000 (09:00 +0000)
refs #5644

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@32225 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/modelImport/MdlUtil.java

index c1cf7fb341e94ee066917ba1ce7e8a955a0052b5..6fd3cf65829de5c16ac508388a02448da63defec 100644 (file)
@@ -150,7 +150,6 @@ public class MdlUtil {
                                parameters = parameters.replaceAll("-", ".-");\r
                                result.append(parameters);\r
                                offset = closing;\r
-                               offset = matcher.end();\r
                        }\r
                        else if (function.equalsIgnoreCase("if then else")) {\r
                                result.append("IFTHENELSE(");\r