about summary refs log tree commit diff
path: root/src/librustsyntax/ext/expand.rs
AgeCommit message (Collapse)AuthorLines
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-157/+0
Per issue #2418.
2012-05-21remove mutable cycle from ast_foldNiko Matsakis-5/+5
2012-05-18add #mod[], which expands to the current module pathPaul Stansifer-0/+16
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-23Simplify representation of ast::pathMarijn Haverbeke-2/+2
2012-04-19Disallow rebinding / matching against consts in altsTim Chevalier-3/+2
As per Issue #1193. Closes #1193. I had to rename a few variables ("info" and "epsilon") to avoid clashing with in-scope constants, which is responsible for all the changes other than resolve and issue-1193.rs.
2012-04-19Annotate FIXMEs (comments only)Tim Chevalier-1/+1
2012-04-18syntax: Put the main parser interface in mod parseBrian Anderson-2/+2
2012-04-12Support general warnings and errors in lint pass via flags and attrs. Close ↵Graydon Hoare-6/+1
#1543.
2012-03-29rustc: Move ext to librustsyntaxBrian Anderson-0/+147