From 3b3b90ef4a016211a24420b6087d81184a90f260 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 16 Oct 2002 01:53:56 +0000 Subject: [PATCH] fix for new bison --- tools/qfcc/source/qc-parse.y | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 773d4a2a5..872a3247e 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -193,7 +193,7 @@ defs ; 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 '{' simple_defs '}' | STRUCT NAME @@ -217,7 +217,7 @@ simple_defs ; simple_def - : type { current_type = $1; } def_list + : type { current_type = $1; } def_list { } ; storage_class @@ -242,7 +242,7 @@ struct_defs ; struct_def - : type { current_type = $1; } struct_def_list + : type { current_type = $1; } struct_def_list { } ; enum_list @@ -1057,7 +1057,7 @@ ivar_decls ; ivar_decl - : type { current_type = $1; } ivars + : type { current_type = $1; } ivars { } ; ivars