[ 
https://issues.apache.org/jira/browse/PIG-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576999#action_12576999
 ] 

Pi Song commented on PIG-141:
-----------------------------


I think in Visual Studio 2005.
If you do

h3. {color:blue}String{color}  {color:black}str{color} = {color:orange}"this is 
pi';{color}

Intellisense cannot tell you either because until another quote is found, you 
are still in the scope of a string. 

The way to go with this bug in my opinion is rather using newline to signal the 
end. However, it is still illegal because a semicolon is missing but it will 
give you an error message immediately after you hit enter. (For entering actual 
newline please refer to PIG-123. I'm also waiting for this patch to be 
committed before I fix this bug)

> If would be nice if grunt could report error immediately when there are 
> mismatching quotes in the store clause
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-141
>                 URL: https://issues.apache.org/jira/browse/PIG-141
>             Project: Pig
>          Issue Type: Improvement
>          Components: grunt
>            Reporter: Xu Zhang
>            Priority: Trivial
>
> A nice-to-have enhancement is for grunt to report error immediately when 
> there are mismatching quotes in the store clause. For instance,
> {code}
> store C into 'results";
> {code}
> Currently, grunt stays without doing anything after I typed the ending ";" 
> and then ENTER, until I type something else. Since ";" already signals the 
> end of the clause, then after ENTER, grunt should be able to identify the 
> syntactic error immediately.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to