Deron Eriksson created SYSTEMML-614:
---------------------------------------

             Summary: Single variable DML script reports wrong line number
                 Key: SYSTEMML-614
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-614
             Project: SystemML
          Issue Type: Bug
          Components: Parser
            Reporter: Deron Eriksson
            Priority: Minor


A DML script consisting of a single string of alphanumeric characters such as 
"f" or "foo" generates the wrong line number (2 instead of 1):

{code}
(syntaxError) - example.dml line 2:0 no viable alternative at input 'f'
{code}

{code}
(syntaxError) - example.dml line 2:0 no viable alternative at input 'foo'
{code}


For comparison, a DML script consisting of "foo()" generates the correct line 
number (1):

{code}
(validationError) - example.dml line 1:0 function call needs to have lvalue 
(Quickfix: change it to 'tmpVar = foo(...)')
{code}






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

Reply via email to