Michal Wallace:
# On Sun, 24 Aug 2003, Leopold Toetsch wrote:
# > We have two kinds of file/line information: Parrot source and HLL
# > source.  So the C<.currentline> macro needs duplication or an
argument
# > specifying, which source it should denote.
# 
# And when parrot throws an error and complains about line 5,
# which one will it mean? :)
# 
# Seems like normally you'd want the high-level source line,
# unless you're debugging the compiler, in which case you
# want the low level one. Maybe this should be a command
# line argument to parrot?

Have IMCC generate an assembler-based line number table by default,
until it's overridden by a .setline, and have a command-line flag that
disables .setline and friends.  Basically, each program would start with
an implicit .setfile and .setline_i.

--Brent Dax <[EMAIL PROTECTED]>
Perl and Parrot hacker
 
"Yeah, and my underwear is flame-retardant--that doesn't mean I'm gonna
set myself on fire to prove it."

Reply via email to