[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037587#comment-16037587
 ] 

Michael J. Carey commented on ASTERIXDB-1931:
---------------------------------------------

Okay - filed this because a CS122a student couldn't tell that was their problem.
(This was a not terribly strong student, but I was kind of expecting something 
more indicative of what was expected that wasn't found - I would have thought 
JavaCC would have complained grammatically without us needing to do anything to 
encourage it to.)

> Unfriendly error message when missing ending semicolon
> ------------------------------------------------------
>
>                 Key: ASTERIXDB-1931
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1931
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB, Translator - SQL++
>            Reporter: Michael J. Carey
>            Assignee: Yingyi Bu
>
> Try:
> USE TinySocial;
> 1+1
> You'll get:
> Syntax error: In line 2 >>1+1<< Encountered  at column 3.  
> [CompilationException]
> It would be nice to get some indication that ; was missing or EOF was 
> encountered unexpectedly!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to