aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/codemap.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix codemap.lookup_posMarijn Haverbeke2011-04-091-15/+12
| | | | | Previously, it would place every single location in the first file of the crate that was parsed.
* Move to single-uint file-position representation.Marijn Haverbeke2011-04-091-0/+65
This makes passing them around cheaper. There is now a table (see front/codemap.rs) that is needed to transform such an uint into an actual filename/line/col location. Also cleans up the span building in the parser a bit.