]> git.lizzy.rs Git - rust.git/commit
Hide the quote_*! macros when the feature gate is off
authorKeegan McAllister <kmcallister@mozilla.com>
Sat, 27 Sep 2014 00:14:23 +0000 (17:14 -0700)
committerKeegan McAllister <kmcallister@mozilla.com>
Sat, 27 Sep 2014 00:17:14 +0000 (17:17 -0700)
commitfc1b908322a5a2ebf8aa599d7178accdd3cbaed9
tree344396835fa9fef42cf6ba661011f0b12d309dfc
parent5d653c17a656e8fe1572c7a695e33b188eda0597
Hide the quote_*! macros when the feature gate is off

This makes it easier to experiment with improved quasiquoting as an ordinary
plugin library.

The list of quote macros in feature_gate.rs was already out of sync;
this commit also prevents that problem in the future.
src/librustc/driver/driver.rs
src/libsyntax/ext/base.rs
src/libsyntax/ext/expand.rs
src/libsyntax/feature_gate.rs
src/libsyntax/test.rs
src/test/run-pass/non-built-in-quote.rs [new file with mode: 0644]