From e47570db6958e0fc48ae3d2aef553bf38c6debe7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 9 Jun 2002 16:34:50 +0000 Subject: [PATCH] must remember to test compile in the optimising tree :P --- tools/qfcc/source/qc-parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index b8bd1f0cd..646a12633 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -352,7 +352,7 @@ def_name if (current_scope->type == sc_local && current_scope->parent->type == sc_params) { scope_t *scope; - def_t *def = get_def (0, $1, scope, 0); + def_t *def = get_def (0, $1, current_scope, 0); if (def) { scope = def->scope; if (scope->type == sc_params)