You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2014/10/01 11:53:34 UTC

[jira] [Resolved] (UIMA-3910) Compile time error in INT variable

     [ https://issues.apache.org/jira/browse/UIMA-3910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl resolved UIMA-3910.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.2ruta

Fixed the second problem, but not the first one. Concatenations of number expressions with string expression require parentheses.

> Compile time error in INT variable
> ----------------------------------
>
>                 Key: UIMA-3910
>                 URL: https://issues.apache.org/jira/browse/UIMA-3910
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.2.0ruta
>            Reporter: Asad Abbas
>            Assignee: Peter Klügl
>             Fix For: 2.2.2ruta
>
>
> Hi,
> I am using following code and getting a compile error.
> INT count1;
> Document{COUNT(Type,count1)};
> Document{->LOG(count1)};
> Type{IF(count1 == 1)->MARK(Type2)};
> In last two lines having compile time error on variable count1 . it says 
> Multiple markers:
> -Syntax error: count1
> -Variable "" not defined in this script or block!
> -Mismatched Input: Expecting "RPAREN" but found "count1".
> Please look into it.
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)