From bfb8eff2f0ddd199ee29e180954f4a6c2c55dd52 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 27 Jul 2001 21:01:01 +0000 Subject: [PATCH] signed_const isn't needed any more --- tools/qfcc/source/qc-parse.y | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 951323422..232f30c08 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -65,7 +65,7 @@ typedef struct { %type type maybe_func %type param param_list def_item def_list def_name -%type signed_const const expr arg_list +%type const expr arg_list %type statement statements statement_block %type begin_function @@ -473,14 +473,6 @@ arg_list } ; -signed_const - : const - | '-' signed_const - { - $$ = unary_expr ('-', $2); - } - ; - const : FLOAT_VAL {