about summary refs log tree commit diff
path: root/src/librustsyntax/codemap.rs
AgeCommit message (Collapse)AuthorLines
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-236/+0
Per issue #2418.
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-05-22Changed the lexer to accept #! comments on the first line.Margaret Meyerhofer-0/+1
2012-05-18port codemap to use dvecNiko Matsakis-3/+5
2012-05-10Preliminary groundwork for intrinsic module, reflection interface.Graydon Hoare-0/+6
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-3/+3
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-3/+3
Fixing a FIXME turned out to be pretty involved. I added an io function that returns a unique boxed string (for the contents of a file) rather than a string, and went from there. Also made the src field of codemap a unique boxed string. This doesn't seem to make that much difference in amount of allocation according to valgrind (disappointingly), but I also had to introduce a copy somewhere else pending a new snapshot, so maybe that's it.
2012-04-15syntax: Limit exports in codemapBrian Anderson-0/+23
2012-04-15syntax: Some minor lexer refactoringBrian Anderson-1/+1
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-1/+1
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-03-29rustc: Move codemap to rustsyntaxBrian Anderson-0/+204