* ch-exp.c (parse_primval): in case ARRAY: Add missing FORWARD_TOKEN ().

This commit is contained in:
Wilfried Moser
1996-01-09 12:46:20 +00:00
parent 1f23375860
commit d1f5c8043a
2 changed files with 5 additions and 0 deletions

View File

@@ -642,6 +642,7 @@ parse_primval ()
if (PEEK_TOKEN () != TYPENAME)
error ("missing MODENAME after ARRAY()");
type = PEEK_LVAL().tsym.type;
FORWARD_TOKEN ();
expect ('(', NULL);
parse_expr ();
expect (')', "missing right parenthesis");