]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Expression parser left out by eclipse svn (refs #2056)
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 23 Feb 2012 12:29:49 +0000 (12:29 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 23 Feb 2012 12:29:49 +0000 (12:29 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24279 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/expressionParser/ExpressionParser.java

index fc72235a2cfc047a9e1f0cb91940f702b3e3e6ac..2178b0050024b02947ef11c479445ddf5274e99e 100644 (file)
@@ -571,6 +571,10 @@ public class ExpressionParser implements ExpressionParserConstants {
       ;\r
     }\r
     jj_consume_token(63);\r
+        if(functionCall != null) {\r
+          if(!functionCallReferences.containsKey(functionCall))\r
+              functionCallReferences.put(functionCall, new ArrayList<Token>());\r
+            }\r
   }\r
 \r
   final public void function_arguments() throws ParseException {\r