Skip to content

Commit 953ef85

Browse files
committed
---
yaml --- r: 1387 b: refs/heads/master c: 2bba49a h: refs/heads/master i: 1385: dba9399 1383: 36b147f v: v3
1 parent 988ec75 commit 953ef85

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4a72a23171d87fb5a0f9b7ad039944856b93bf0f
2+
refs/heads/master: 2bba49a9feed613c2f018d5aa751df3c7a49a3d6

trunk/src/comp/front/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ tag expr_ {
160160
expr_field(@expr, ident, ann);
161161
expr_index(@expr, @expr, ann);
162162
expr_path(path, option.t[def], ann);
163-
expr_ext(vec[@expr], option.t[@expr], ann);
163+
expr_ext(path, vec[@expr], option.t[@expr], ann);
164164
expr_fail;
165165
expr_ret(option.t[@expr]);
166166
expr_put(option.t[@expr]);

trunk/src/comp/front/parser.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,13 +589,14 @@ impure fn parse_bottom_expr(parser p) -> @ast.expr {
589589

590590
case (token.POUND) {
591591
p.bump();
592+
auto pth = parse_path(p, GREEDY);
592593
auto pf = parse_expr;
593594
auto es = parse_seq[@ast.expr](token.LPAREN,
594595
token.RPAREN,
595596
some(token.COMMA),
596597
pf, p);
597598
hi = es.span;
598-
ex = ast.expr_ext(es.node, none[@ast.expr], ast.ann_none);
599+
ex = ast.expr_ext(pth, es.node, none[@ast.expr], ast.ann_none);
599600
}
600601

601602
case (token.FAIL) {

0 commit comments

Comments
 (0)