You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2016/01/14 10:25:56 UTC

svn commit: r1724563 - /uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/StatementFactory.java

Author: pkluegl
Date: Thu Jan 14 09:25:55 2016
New Revision: 1724563

URL: http://svn.apache.org/viewvc?rev=1724563&view=rev
Log:
UIMA-4735
- fixed macro ast node

Modified:
    uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/StatementFactory.java

Modified: uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/StatementFactory.java
URL: http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/StatementFactory.java?rev=1724563&r1=1724562&r2=1724563&view=diff
==============================================================================
--- uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/StatementFactory.java (original)
+++ uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/StatementFactory.java Thu Jan 14 09:25:55 2016
@@ -379,8 +379,8 @@ public class StatementFactory extends Ab
     SimpleReference ref = new RutaVariableReference(nameBounds[0], nameBounds[1], name.getText(),
             k);
     RutaExpressionList expr = new RutaExpressionList(elements); 
-    return new RutaVariableDeclaration(name.getText(), nameBounds[0], nameBounds[1], declBounds[0],
-            declBounds[1], ref, k, expr);
+    return new RutaMacroDeclaration(name.getText(), nameBounds[0], nameBounds[1], declBounds[0],
+            declBounds[1], ref, k, def, expr);
   }