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 2012/01/09 14:02:08 UTC
svn commit: r1229131 [1/3] - in
/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide:
core/parser/ parser/ast/
Author: pkluegl
Date: Mon Jan 9 13:02:07 2012
New Revision: 1229131
URL: http://svn.apache.org/viewvc?rev=1229131&view=rev
Log:
UIMA-2319
fixed bug/typo in ide parser grammar
Modified:
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.g
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.java
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.tokens
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/parser/ast/StatementFactory.java
Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.g
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.g?rev=1229131&r1=1229130&r2=1229131&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.g (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-ide/src/main/java/org/apache/uima/textmarker/ide/core/parser/TextMarkerParser.g Mon Jan 9 13:02:07 2012
@@ -1873,7 +1873,7 @@ externalNumberFunction returns [Expressi
numberVariable returns [Expression expr = null]
:
( {isVariableOfType(input.LT(1).getText(), "INT")}? numVarRef = Identifier //
- | {isVariableOfType(input.LT(1).getText(), "DOUBLE")}? numVarRef = Identifier)
+ | {isVariableOfType(input.LT(1).getText(), "DOUBLE")}? numVarRef = Identifier
| {isVariableOfType(input.LT(1).getText(), "FLOAT")}? numVarRef = Identifier)
{ expr = ExpressionFactory.createNumberVariableReference(numVarRef);}
;