about summary refs log tree commit diff
path: root/src/libproc_macro_plugin
AgeCommit message (Collapse)AuthorLines
2017-06-26Implement `quote!` and other `proc_macro` API.Jeffrey Seyfried-346/+0
2017-06-19Bump version and stage0 compilerAlex Crichton-3/+0
2017-05-13Fix #35829 (syntax extension's `quote_expr!()` does not handle b"…")kennytm-3/+13
* Handles `b"…"`, `br#"…"#` and `...` for `quote_expr!()`. * Refactored the match statement to allow it to complain loudly on any unhandled token. * Similarly, proc_macro's `quote!()` did not handle `br#"…"#` or `r#"…"#`, so this commit fixes it too.
2017-05-11rustc: Remove #![unstable] annotationAlex Crichton-3/+3
These are now no longer necessary with `-Z force-unstable-if-unmarked`
2017-03-15Improve the `TokenStream` quoter.Jeffrey Seyfried-49/+55
2017-03-03Integrate `TokenStream`.Jeffrey Seyfried-16/+5
2017-03-03Optimize `syntax::tokenstream::Cursor`.Jeffrey Seyfried-3/+4
2017-03-03Remove lifetime parameter from `syntax::tokenstream::Cursor`.Jeffrey Seyfried-6/+6
2017-02-28Add `syntax::ext::tt::quoted::{TokenTree, ..}` and remove ↵Jeffrey Seyfried-1/+0
`tokenstream::TokenTree::Sequence`.
2017-01-23Remove `open_span` and `close_span` from `Delimited`.Jeffrey Seyfried-4/+0
2017-01-22Refactor `TokenStream`.Jeffrey Seyfried-410/+167
2017-01-22Remove unused `extern crate`s.Jeffrey Seyfried-2/+0
2017-01-16proc macros/qquote: Handle empty delimited tokensNick Cameron-40/+43
2016-12-29Remove not(stage0) from deny(warnings)Alex Crichton-1/+1
Historically this was done to accommodate bugs in lints, but there hasn't been a bug in a lint since this feature was added which the warnings affected. Let's completely purge warnings from all our stages by denying warnings in all stages. This will also assist in tracking down `stage0` code to be removed whenever we're updating the bootstrap compiler.
2016-11-20Move `syntax::util::interner` -> `syntax::symbol`, cleanup.Jeffrey Seyfried-24/+28
2016-10-28Split up libproc_macro_pluginNick Cameron-175/+13
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.
2016-10-06rustc: Rename rustc_macro to proc_macroAlex Crichton-0/+748
This commit blanket renames the `rustc_macro` infrastructure to `proc_macro`, which reflects the general consensus of #35900. A follow up PR to Cargo will be required to purge the `rustc-macro` name as well.