Author: pkluegl
Date: Wed Jan  9 14:39:18 2019
New Revision: 1850864

URL: http://svn.apache.org/viewvc?rev=1850864&view=rev
Log:
no jira - ide parser should allow null comparisons

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

Modified: 
uima/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g
URL: 
http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g?rev=1850864&r1=1850863&r2=1850864&view=diff
==============================================================================
--- 
uima/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g
 (original)
+++ 
uima/ruta/trunk/ruta-ep-ide/src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.g
 Wed Jan  9 14:39:18 2019
@@ -2708,7 +2708,7 @@ booleanAnnotationExpression  returns  [E
        :
        e1 = annotationExpression
        op = (EQUAL | NOTEQUAL)
-       e2 = annotationExpression
+       ( e2 = annotationExpression | e2 = nullExpression )
        {expr = ExpressionFactory.createBooleanAnnotationExpression(e1,op,e2);}
        ;
 
@@ -2725,7 +2725,7 @@ booleanTypeExpression  returns  [Express
        :
        e1 = typeExpression
        op = (EQUAL | NOTEQUAL)
-       e2 = typeExpression
+       ( e2 = typeExpression | e2 = nullExpression )
        {expr = ExpressionFactory.createBooleanTypeExpression(e1,op,e2);}
        ;
 
@@ -2746,7 +2746,7 @@ booleanStringExpression  returns  [Expre
        //LPAREN
        e1 = stringExpression
        op = (EQUAL | NOTEQUAL)
-       e2 = stringExpression
+       ( e2 = stringExpression | e2 = nullExpression )
        //RPAREN
        {expr = ExpressionFactory.createBooleanStringExpression(e1,op,e2);}
        ;


Reply via email to