Roger Browne wrote:
Nick Glencross wrote:
.hll_debug_end line
.hll_debug_begin line 2
I don't think the "end" directives add much. There's almost always going
to be an "end line" before a "begin line", so why not let 'begin line'
to imply the end of any previously-declared line?
While nesting one begin/end line number directly inside another doesn't
make much sense, my reasoning for this is for inlining of code where you
nest a new filename/line/column and then these are popped to get back to
the original calling location.
I also see your point about statements/line numbers, but again
begin/ends can of course be arranged to model this too.
I can see both sides of the coin.
Nick