ARudik / phc

Automatically exported from code.google.com/p/phc
0 stars 0 forks source link

Fix line numbers #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The line numbers reported by phc are not always accurate, and many nodes in
the AST don't have a line number associated with them at all. We should
probably use Bison's location tracking for this (that may also make
tracking of comments easier).

Original issue reported on code.google.com by edskodev...@gmail.com on 14 Apr 2007 at 3:45

GoogleCodeExporter commented 9 years ago
A lot of Tokens dont have a line number because they are created in the parser, 
and
dont use the NEW macro. Others lose line numbers during conversion or lowering.

Original comment by paul.biggar on 21 Nov 2007 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by paul.biggar on 2 Dec 2007 at 3:36

GoogleCodeExporter commented 9 years ago
This is an old bug. Any recent news on it?

Original comment by colintempler@gmail.com on 7 Apr 2010 at 12:40