Skip to content

Commit 3f10f53

Browse files
committed
---
yaml --- r: 1421 b: refs/heads/master c: c6bc5cc h: refs/heads/master i: 1419: 7d5789d v: v3
1 parent fca47fe commit 3f10f53

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
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: 5f6110a4db9639dd8c21f976dc2c3f34ede3e038
2+
refs/heads/master: c6bc5cce4bf2ed84740ec6810505014c7d73b779

trunk/src/comp/front/parser.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,15 @@ impure fn parse_crate_directive(str prefix, parser p,
21172117
auto lo = p.get_span();
21182118
auto hi = lo;
21192119
alt (p.peek()) {
2120+
case (token.AUTH) {
2121+
// FIXME: currently dropping auth clauses on the floor,
2122+
// as there is no effect-checking pass.
2123+
p.bump();
2124+
auto n = parse_path(p, GREEDY);
2125+
expect(p, token.EQ);
2126+
auto e = parse_effect(p);
2127+
expect(p, token.SEMI);
2128+
}
21202129
case (token.CONST) {
21212130
auto c = parse_item_const(p);
21222131
ast.index_item(index, c);

0 commit comments

Comments
 (0)