fix for new bison

This commit is contained in:
Bill Currie 2002-10-16 01:53:56 +00:00
parent 68b41f9b44
commit 3b3b90ef4a

View file

@ -193,7 +193,7 @@ defs
; ;
def def
: type { current_storage = st_global; current_type = $1; } def_list : type { current_storage = st_global; current_type = $1; } def_list { }
| storage_class type { current_type = $2; } def_list | storage_class type { current_type = $2; } def_list
| storage_class '{' simple_defs '}' | storage_class '{' simple_defs '}'
| STRUCT NAME | STRUCT NAME
@ -217,7 +217,7 @@ simple_defs
; ;
simple_def simple_def
: type { current_type = $1; } def_list : type { current_type = $1; } def_list { }
; ;
storage_class storage_class
@ -242,7 +242,7 @@ struct_defs
; ;
struct_def struct_def
: type { current_type = $1; } struct_def_list : type { current_type = $1; } struct_def_list { }
; ;
enum_list enum_list
@ -1057,7 +1057,7 @@ ivar_decls
; ;
ivar_decl ivar_decl
: type { current_type = $1; } ivars : type { current_type = $1; } ivars { }
; ;
ivars ivars