From 9d4a6bd6bb4daf04a2ff2e0d2c01691c4e5d84be Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 29 Jan 2014 13:25:08 -0800 Subject: [PATCH] glcpp: Rename the variable used to enable debugging. The -p option we now use when calling bison means that this variable will be named glcpp_parser_debug not yydebug. This was not caught when the -p option was added because this variable isn't used in the code as committed. (I prefer the declaration to remain since it allows a developer to easily find this variable name to enable debugging.) --- src/glsl/glcpp/glcpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/glcpp/glcpp.c b/src/glsl/glcpp/glcpp.c index 6994d7bb955..07b1500b6b8 100644 --- a/src/glsl/glcpp/glcpp.c +++ b/src/glsl/glcpp/glcpp.c @@ -30,7 +30,7 @@ #include "main/mtypes.h" #include "main/shaderobj.h" -extern int yydebug; +extern int glcpp_parser_debug; void _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, -- 2.30.2