Skip to content

Commit e7b88ca

Browse files
committed
---
yaml --- r: 1547 b: refs/heads/master c: 5aabe7e h: refs/heads/master i: 1545: 309575a 1543: 4c0c3a6 v: v3
1 parent d090b0a commit e7b88ca

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: fa2525a7bdba20fd038e10e3275ce6ba0b1af5b5
2+
refs/heads/master: 5aabe7e84fd329133909ee4ec66c88df74e06f78

trunk/src/comp/pretty/pprust.rs

+10-1
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,17 @@ impure fn print_expr(ps s, @ast.expr expr) {
512512
wrd1(s, "check");
513513
print_expr(s, expr);
514514
}
515+
case (ast.expr_ext(?path, ?args, ?body, _, _)) {
516+
wrd(s, "#");
517+
print_path(s, path);
518+
if (_vec.len[@ast.expr](args) > 0u) {
519+
popen(s);
520+
commasep[@ast.expr](s, args, pe);
521+
pclose(s);
522+
}
523+
// TODO: extension 'body'
524+
}
515525
case (_) {wrd(s, "X");}
516-
// TODO expr_ext(path, vec[@expr], option.t[@expr], @expr, ann);
517526
}
518527
end(s);
519528
}

0 commit comments

Comments
 (0)