Allow devel to parse a .scope statements with out the `celldefine info.

This change allows us to test V0.9 files under V0.10.devel.
This commit is contained in:
Cary R 2009-05-29 14:57:04 -07:00 committed by Stephen Williams
parent d06f6dfc51
commit 80c21adb4a
1 changed files with 6 additions and 0 deletions

View File

@ -580,6 +580,12 @@ statement
T_NUMBER T_NUMBER T_NUMBER ',' T_SYMBOL ';'
{ compile_scope_decl($1, $3, $5, $6, $14, $7, $8, $10, $11, $12); }
/* Legacy declaration that does not have `celldefine information. */
| T_LABEL K_SCOPE T_SYMBOL ',' T_STRING T_STRING T_NUMBER T_NUMBER ','
T_NUMBER T_NUMBER ',' T_SYMBOL ';'
{ compile_scope_decl($1, $3, $5, $6, $13, $7, $8, $10, $11, 0); }
/* XXXX Legacy declaration has no type name. */
| T_LABEL K_SCOPE T_SYMBOL ',' T_STRING ';'