From: Carl Worth Date: Wed, 29 Jan 2014 21:25:08 +0000 (-0800) Subject: glcpp: Rename the variable used to enable debugging. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d4a6bd6bb4daf04a2ff2e0d2c01691c4e5d84be;p=mesa.git 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.) --- 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,