summary refs log tree commit diff
path: root/src/libproc_macro_tokens/parse.rs
AgeCommit message (Collapse)AuthorLines
2016-11-09proc_macro_plugin: Wrap nonexistent filename in <>Jonas Schievink-2/+2
I'm not sure how big of an issue this can become in practice, but `FileMap`s made from something that's not a file are supposed to wrap the file name in `<>`. For an example fix, see kevinmehall/rust-peg@332fd4dbae19b64fb2af4b9d565e37a3703e7576. There, it caused cargo to always recompile a crate using rust-peg, even when nothing was changed, because cargo sees that the dummy file doesn't exist.
2016-10-28Split up libproc_macro_pluginNick Cameron-0/+26
Separate the plugin code from non-plugin code to break a potential cycle in crates. This will allow us to merge the new libproc_macro_tokens into libproc_macro.