about summary refs log tree commit diff
path: root/src/librustsyntax/parse/lexer.rs
AgeCommit message (Collapse)AuthorLines
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-536/+0
Per issue #2418.
2012-05-24remove dead assignmentsNiko Matsakis-1/+1
2012-05-22Merge branch 'master' of git://github.com/mozilla/rustMargaret Meyerhofer-7/+2
2012-05-22cleaned up debugging codeMargaret Meyerhofer-2/+1
2012-05-22Changed the lexer to accept #! comments on the first line.Margaret Meyerhofer-0/+11
2012-05-22Get rid of the >>> operator and make >> logical or arithmetic depending on ↵Michael Sullivan-7/+2
the signedness. Closes #2417.
2012-05-15core: Generalize uint-string conversions to all uint typesBrian Anderson-2/+2
Issue #2239
2012-05-15Remove `be` keyword.Lindsey Kuper-4/+4
Closes #2227.
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: Replace token::DOLLAR_PAREN, DOLLAR_NUM with just DOLLARBrian Anderson-17/+1
Figure the rest out in the parser
2012-04-22syntax: Eliminate token::POUND_LT, POUND_LBRACEBrian Anderson-6/+1
Use lookahead in the parser
2012-04-19Comments only: annotate FIXMEs in lexerTim Chevalier-2/+3
2012-04-15syntax: Remove unused lexer fieldBrian Anderson-2/+1
2012-04-15syntax: Some minor lexer refactoringBrian Anderson-2/+1
2012-04-15syntax: lexer doesn't need to store the src lengthBrian Anderson-6/+4
2012-04-15syntax: lexer doesn't need a codemapBrian Anderson-5/+2
2012-04-15syntax: Limit exports from lexerBrian Anderson-0/+2
2012-04-15syntax: Move comment-extraction code to its own moduleBrian Anderson-192/+0
2012-03-29rustc: Move lexer and token to rustsyntaxBrian Anderson-0/+748