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 2013/08/16 15:45:13 UTC

svn commit: r1514710 - /uima/sandbox/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g

Author: pkluegl
Date: Fri Aug 16 13:45:13 2013
New Revision: 1514710

URL: http://svn.apache.org/r1514710
Log:
UIMA-3184	
- improved grammar rule of EXEC action

Modified:
    uima/sandbox/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g

Modified: uima/sandbox/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g
URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g?rev=1514710&r1=1514709&r2=1514710&view=diff
==============================================================================
--- uima/sandbox/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g (original)
+++ uima/sandbox/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g Fri Aug 16 13:45:13 2013
@@ -1686,7 +1686,7 @@ String string = "";
     :
     name = EXEC lp = LPAREN 
      {   action = ActionFactory.createCallAction(name, StatementFactory.createEmtpyComponentReference(lp));}
-     (view = stringExpression COMMA)?
+     ((stringExpression)=> view = stringExpression COMMA)?
      {   if(view != null) {action = ActionFactory.createCallAction(name, ns, null, view);}}
     ns = dottedComponentReference 
      {   if(ns != null) {action = ActionFactory.createCallAction(name, ns, null, view);}}