Make RESOLVE(statement) correctly handle any keyword. Fixes #1242.

This commit is contained in:
ridiculousfish 2014-01-15 01:53:40 -08:00
parent 53814983ff
commit 370b47d23f

View file

@ -173,12 +173,8 @@ RESOLVE(statement)
case parse_keyword_end: case parse_keyword_end:
return NO_PRODUCTION; return NO_PRODUCTION;
// 'in' is only special within a for_header // All other keywords fall through to decorated statement
case parse_keyword_in: default:
case parse_keyword_none:
case parse_keyword_command:
case parse_keyword_builtin:
case parse_keyword_case:
return 4; return 4;
} }
break; break;