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

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=15288593#comment-15288593 ] 

Tatsuya Nishiyama edited comment on SYSTEMML-639 at 5/18/16 11:01 AM:
----------------------------------------------------------------------

I addressed this issue in PR [#166 | https://github.com/apache/incubator-systemml/pull/166]


was (Author: nishiyama):
I addressed in PR [#166 | https://github.com/apache/incubator-systemml/pull/166]

> 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
>            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)