Skip to content

Commit 727ac15

Browse files
lhtbrson
authored andcommitted
---
yaml --- r: 6455 b: refs/heads/master c: 05b2cb8 h: refs/heads/master i: 6453: 8c2b10b 6451: 6aff4e3 6447: 4a80710 v: v3
1 parent 7ccf3f3 commit 727ac15

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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: 2253ed5d1c056dac47c2fbd9dfd399a655230db0
2+
refs/heads/master: 05b2cb8ecc30c6758f6042da7e3fc5c603be0f23

trunk/src/comp/syntax/parse/parser.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2478,7 +2478,9 @@ fn parse_crate_directive(p: parser, first_outer_attr: [ast::attribute]) ->
24782478
let file_opt =
24792479
alt p.peek() {
24802480
token::EQ. { p.bump(); some(parse_str(p)) }
2481-
_ { none }
2481+
_ {
2482+
attr::get_meta_item_value_str_by_name(outer_attrs, "path")
2483+
}
24822484
};
24832485
alt p.peek() {
24842486
// mod x = "foo.rs";

0 commit comments

Comments
 (0)