# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #38794]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38794 >


We should instead report the error by line number and position.

For example, given a grammar of:

grammar bad;

rule sugar {{ good }

and a command of:

../../parrot ../../compilers/pge/rulec.pir --compiler=p6rules foo.g

we currently output:

p6rule parse error: Term expected at offset 26, found '{'

instead we should output:

p6rule parse error: Term expected at line 3, position 13, found '{'

Regards.

Reply via email to