From 161a82e433fbfbc0bd57a4d951ac37656a8a30f6 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 27 Aug 2012 14:22:25 -0700 Subject: Camel case various core constructors --- src/libsyntax/ext/tt/macro_parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libsyntax/ext/tt') diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index 3b04fd502f4..db96ce484be 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -7,7 +7,7 @@ import parse::parser::{parser,SOURCE_FILE}; //import parse::common::parser_common; import parse::common::*; //resolve bug? import parse::parse_sess; -import dvec::{DVec, dvec}; +import dvec::DVec; import ast::{matcher, match_tok, match_seq, match_nonterminal, ident}; import ast_util::mk_sp; import std::map::{hashmap, uint_hash}; @@ -137,7 +137,7 @@ fn initial_matcher_pos(ms: ~[matcher], sep: Option, lo: uint) } } ~{elts: ms, sep: sep, mut idx: 0u, mut up: matcher_pos_up(None), - matches: copy vec::from_fn(count_names(ms), |_i| dvec::dvec()), + matches: copy vec::from_fn(count_names(ms), |_i| dvec::DVec()), match_lo: 0u, match_hi: match_idx_hi, sp_lo: lo} } @@ -296,7 +296,7 @@ fn parse(sess: parse_sess, cfg: ast::crate_cfg, rdr: reader, ms: ~[matcher]) } let matches = vec::map(ei.matches, // fresh, same size: - |_m| dvec::<@named_match>()); + |_m| DVec::<@named_match>()); let ei_t <- ei; vec::push(cur_eis, ~{ elts: matchers, sep: sep, mut idx: 0u, -- cgit 1.4.1-3-g733a5