Teach parser to recognize ITER keyword as item-start.

This commit is contained in:
Graydon Hoare 2011-01-24 15:25:30 -08:00
parent d97137734b
commit 65da18faf8

View File

@ -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; }