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


I just spent an hour or so chasing my tail trying to figure out where an error in my 
code was. (Turned out I had put a letter before a # in a file.)

This shows the same mis-reporting of the error:

oolong:~/research/parrot coke$ cat a.imc
.sub leo @MAIN
  load_bytecode "b.imc"
  end
.end
oolong:~/research/parrot coke$ cat b.imc
.include "c.imc"
oolong:~/research/parrot coke$ cat c.imc
Eek

oolong:~/research/parrot coke$ ./parrot a.imc 
error:imcc:parse error, unexpected IDENTIFIER

in file 'b.imc' line 1


I would EXPECT this to show the error in "c.imc" instead of "b.imc".

... Eeek. I just trying to run "./parrot b.imc", to show the error I expect to get 
about "c.imc"... but I get the same error. the error is being reported at the .include 
instead of the actual error.



Reply via email to