Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'remotes/sfackler/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Feb 18, 2016
2 parents a45aa72 + 8c3fc0e commit acb0bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntex_syntax/src/ext/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ impl BlockInfo {

/// The base map of methods for expanding syntax extension
/// AST nodes into full ASTs
fn initial_syntax_expander_table<'feat>(_ecfg: &expand::ExpansionConfig<'feat>)
fn initial_syntax_expander_table<'feat>(ecfg: &expand::ExpansionConfig<'feat>)
-> SyntaxEnv {
// utility function to simplify creating NormalTT syntax extensions
fn builtin_normal_expander(f: MacroExpanderFn) -> SyntaxExtension {
Expand All @@ -471,7 +471,6 @@ fn initial_syntax_expander_table<'feat>(_ecfg: &expand::ExpansionConfig<'feat>)

ext::deriving::register_all(&mut syntax_expanders);

/*
if ecfg.enable_quotes() {
// Quasi-quoting expanders
syntax_expanders.insert(intern("quote_tokens"),
Expand Down Expand Up @@ -515,6 +514,7 @@ fn initial_syntax_expander_table<'feat>(_ecfg: &expand::ExpansionConfig<'feat>)
ext::quote::expand_quote_path));
}

/*
syntax_expanders.insert(intern("line"),
builtin_normal_expander(
ext::source_util::expand_line));
Expand Down

0 comments on commit acb0bb0

Please sign in to comment.