Add initial support for a new formatting syntax

The new macro is available under the name ifmt! (only an intermediate name)
This commit is contained in:
Alex Crichton 2013-07-29 01:12:41 -07:00
parent 5b4244d917
commit ffb670ffcd
16 changed files with 2258 additions and 3 deletions

View file

@ -1014,7 +1014,9 @@ pub fn expand_crate(parse_sess: @mut parse::ParseSess,
.. *afp};
let f = make_fold(f_pre);
@f.fold_crate(c)
let ret = @f.fold_crate(c);
parse_sess.span_diagnostic.handler().abort_if_errors();
return ret;
}
// given a function from idents to idents, produce