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:
parent
5b4244d917
commit
ffb670ffcd
16 changed files with 2258 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue