File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ tag expr_ {
160
160
expr_field ( @expr, ident, ann) ;
161
161
expr_index ( @expr, @expr, ann) ;
162
162
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) ;
164
164
expr_fail;
165
165
expr_ret ( option. t [ @expr] ) ;
166
166
expr_put ( option. t [ @expr] ) ;
Original file line number Diff line number Diff line change @@ -589,13 +589,14 @@ impure fn parse_bottom_expr(parser p) -> @ast.expr {
589
589
590
590
case ( token. POUND ) {
591
591
p. bump ( ) ;
592
+ auto pth = parse_path ( p, GREEDY ) ;
592
593
auto pf = parse_expr;
593
594
auto es = parse_seq[ @ast. expr ] ( token. LPAREN ,
594
595
token. RPAREN ,
595
596
some ( token. COMMA ) ,
596
597
pf, p) ;
597
598
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 ) ;
599
600
}
600
601
601
602
case ( token. FAIL ) {
You can’t perform that action at this time.
0 commit comments