about summary refs log tree commit diff
path: root/src/librustsyntax/parse/comments.rs
AgeCommit message (Collapse)AuthorLines
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-203/+0
Per issue #2418.
2012-05-22Changed the pretty printer also read #! commentsMargaret Meyerhofer-3/+17
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-1/+1
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-1/+1
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-22syntax: Move is_lit to mod tokenBrian Anderson-11/+1
2012-04-22syntax: Remove unused BRACEQUOTE, IDX, LIT_BOOL tokensBrian Anderson-1/+0
2012-04-18Fix [] on str to exclude the trailing null.Graydon Hoare-3/+4
2012-04-17syntax: Add explicit exports in parser modsBrian Anderson-0/+5
2012-04-15syntax: lexer doesn't need a codemapBrian Anderson-3/+2
2012-04-15syntax: Eliminate token's dependency on lexerBrian Anderson-1/+1
2012-04-15syntax: Move comment-extraction code to its own moduleBrian Anderson-0/+195