[ https://issues.apache.org/jira/browse/SYSTEMML-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deron Eriksson updated SYSTEMML-639: ------------------------------------ Assignee: Tatsuya Nishiyama (was: Deron Eriksson) > 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)