Some questions about tfileposinfo position variables:
1) What's the difference between current_tokenpos and current_filepos?
Normally the scanner updates both vars to the same value...
2) What's the meaning of the tailineinfo.fileinfo value?
The default constructor inits fileinfo to current_filepos.
3) What's the meaning of the tnode.fileinfo value?
The default constructor inits fileinfo to current_filepos.
4) What's the meaning of the tsym.fileinfo value?
The default constructor inits fileinfo to current_tokenpos.
5) Some (parser) procedures modify current_tokenpos/filepos temporarily,
and restore the old values later. What's the purpose of such changes?
DoDi
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel