diff options
| author | Graydon Hoare <[email protected]> | 2011-01-24 15:25:30 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-24 15:25:30 -0800 |
| commit | 65da18faf8eb17cd258d373c316f048d5ca8ee56 (patch) | |
| tree | db044108c851210f0dc771f28084d381ccfb10f0 /src | |
| parent | Remove unimplemented erorr and enable test. (diff) | |
| download | rust-65da18faf8eb17cd258d373c316f048d5ca8ee56.tar.xz rust-65da18faf8eb17cd258d373c316f048d5ca8ee56.zip | |
Teach parser to recognize ITER keyword as item-start.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/front/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index 406e9892..e36905a3 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1645,6 +1645,7 @@ fn peeking_at_item(parser p) -> bool { case (token.UNSAFE) { ret true; } case (token.CONST) { ret true; } case (token.FN) { ret true; } + case (token.ITER) { ret true; } case (token.MOD) { ret true; } case (token.TYPE) { ret true; } case (token.TAG) { ret true; } |