Skip to content

Commit 01d0ad6

Browse files
committed
---
yaml --- r: 1371 b: refs/heads/master c: b59d98c h: refs/heads/master i: 1369: 822422f 1367: 9c6a4ff v: v3
1 parent 25042df commit 01d0ad6

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-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: 7c25fb5628c398b79b9293b6b31d62936dcba613
2+
refs/heads/master: b59d98ccb9de56a49768586961ce745d462e0697

trunk/src/comp/front/parser.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ impure fn parse_ty_obj(parser p, &mutable ast.span hi) -> ast.ty_ {
173173
expect(p, token.OBJ);
174174
impure fn parse_method_sig(parser p) -> ast.ty_method {
175175
auto flo = p.get_span();
176+
177+
// FIXME: do something with this, currently it's dropped on the floor.
178+
let ast.effect eff = parse_effect(p);
179+
176180
expect(p, token.FN);
177181
auto ident = parse_ident(p);
178182
auto f = parse_ty_fn(p, flo);
@@ -204,6 +208,12 @@ impure fn parse_ty(parser p) -> @ast.ty {
204208
auto lo = p.get_span();
205209
auto hi = lo;
206210
let ast.ty_ t;
211+
212+
// FIXME: do something with these; currently they're
213+
// dropped on the floor.
214+
let ast.effect eff = parse_effect(p);
215+
let ast.layer lyr = parse_layer(p);
216+
207217
alt (p.peek()) {
208218
case (token.BOOL) { p.bump(); t = ast.ty_bool; }
209219
case (token.INT) { p.bump(); t = ast.ty_int; }

0 commit comments

Comments
 (0)