Allow ivars to use typedefs and other classes.

This commit is contained in:
Bill Currie 2011-02-03 18:03:37 +09:00
parent 2203903bb2
commit dc6296e9b1
1 changed files with 5 additions and 0 deletions

View File

@ -1393,6 +1393,11 @@ ivar_decls
ivar_decl ivar_decl
: type { $<spec>$ = $1; } ivars : type { $<spec>$ = $1; } ivars
| type_name_or_class_name
{
$<spec>$ = make_spec ($1->type, 0, 0, 0);
}
ivars {}
; ;
ivars ivars