On Sat Aug 19 14:30:53 2006, chip wrote:
> Runtime errors seem to be off by one these days.  Anybody play with line
> numbering recently?
> 
> Given this source:
> 
>     .sub foo :main
>             P0 = new .Hash
>             P1 = P0['x']
>             unless P1 goto no
>             print "yes\n"
>       no:
>     .end
> 
> The message claims line number 3:
> 
>     Null PMC access in get_bool()
>     current instr.: 'foo' pc 7 (/tmp/line.pir:3)
> 
> Whereas the actual error is on line 4.

TODO test  added to t/compilers/imcc/syn/regresssions.t in r28449.

-- 
Will "Coke" Coleda

Reply via email to