"absolute" linenumber

Is there a way to get an "absolute" linenumber as opposed to the "relative" linenumber from parserGetNodeLine?
In stead of "line 3 in include something.i" I would like to have line 103 since the include was coded on line 100 of the .p
Is this posible?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
john's picture

Re: "absolute" linenumber

Possible? Yes. Simple? No. There aren't any functions built into proparse.dll (or even proparse.jar) to do exactly that. There is the Proparse "listing" output, which shows details about all of the preprocessing and include files. I make a lot of use of it in proparse.jar for mapping it to nodes in the syntax tree.