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:
return NO_PRODUCTION;
// 'in' is only special within a for_header
case parse_keyword_in:
case parse_keyword_none:
case parse_keyword_command:
case parse_keyword_builtin:
case parse_keyword_case:
// All other keywords fall through to decorated statement
default:
return 4;
}
break;