You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2016/05/18 18:42:12 UTC

[jira] [Closed] (SYSTEMML-639) Can't use semicolon after user-defined function in DML

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

Deron Eriksson closed SYSTEMML-639.
-----------------------------------

> Can't use semicolon after user-defined function in DML
> ------------------------------------------------------
>
>                 Key: SYSTEMML-639
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-639
>             Project: SystemML
>          Issue Type: Bug
>          Components: APIs
>            Reporter: Deron Eriksson
>            Assignee: Tatsuya Nishiyama
>            Priority: Minor
>
> This is valid:
> {code}
> x=1;print(x);
> printFoo=function(int y){print(y);}
> z=printFoo(x);
> {code}
> This is invalid:
> {code}
> x=1;print(x);
> printFoo=function(int y){print(y);};z=printFoo(x);
> {code}
> and generates:
> {code}
> The following parse issue was encountered:
> example.dml [line 2:35] [Syntax error] -> printFoo=function(int y){print(y);};z=printFoo(x);
>    extraneous input ';' expecting {<EOF>, 'while', 'for', 'if', 'source', 'setwd', 'parfor', '[', ID, COMMANDLINE_NAMED_ID, COMMANDLINE_POSITION_ID}
> {code}



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