Details
Description
My current project would benefit from knowing what line of the source file an entity is located on. This is already given for tags, but I'd like it for classes, fields and methods as well. I'll attach a sample patch that more-or-less solves the problem, but is sometimes off by one and doesn't udpate the unit tests. I am not sufficiently familiar with the parser generator to figure out how to improve things.
Activity

Field | Original Value | New Value |
---|---|---|
Attachment | patch.txt [ 12136 ] |

Summary | Provide line numbers for entities | Provide line numbers for all entities |
Fix Version/s | 1.5 [ 10650 ] | |
Assignee | Mike Williams [ mdub ] |

Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Assignee | Mike Williams [ mdub ] | Aslak Hellesoy [ rinkrank ] |

Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |

Fix Version/s | 1.6 [ 10814 ] | |
Fix Version/s | 1.5 [ 10650 ] |

Attachment | patch2.txt [ 12327 ] |

Comment | [ 20875 ] |

Attachment | patch2.txt [ 12328 ] |

Attachment | patch2.txt [ 12327 ] |

Assignee | Aslak Hellesoy [ rinkrank ] | Mike Williams [ mdub ] |

Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |

Status | Resolved [ 5 ] | Closed [ 6 ] |
Here's a patch that ought to be looked over by somebody who knows more than me about the parser.