You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2011/04/23 16:38:05 UTC

[jira] [Updated] (PIG-2012) Comments at the begging of file throw off line numbers in errors

     [ https://issues.apache.org/jira/browse/PIG-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates updated PIG-2012:
----------------------------

    Attachment: macro.pig

> Comments at the begging of file throw off line numbers in errors
> ----------------------------------------------------------------
>
>                 Key: PIG-2012
>                 URL: https://issues.apache.org/jira/browse/PIG-2012
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Alan Gates
>            Assignee: Richard Ding
>         Attachments: macro.pig
>
>
> The preprocessor does not appear to be handling leading comments properly when calculating line numbers for error messages.  In the attached script, the error is reported to be on line 7.  It is actually on line 10.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira