Mesa (master): glcpp: Rename the variable used to enable debugging.
Carl Worth
cworth at kemper.freedesktop.org
Fri Jan 31 18:04:41 UTC 2014
Module: Mesa
Branch: master
Commit: 9d4a6bd6bb4daf04a2ff2e0d2c01691c4e5d84be
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d4a6bd6bb4daf04a2ff2e0d2c01691c4e5d84be
Author: Carl Worth <cworth at cworth.org>
Date: Wed Jan 29 13:25:08 2014 -0800
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 6994d7b..07b1500 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,
More information about the mesa-commit
mailing list