diff options
author | Carl Worth <[email protected]> | 2014-01-29 13:25:08 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2014-01-31 10:02:58 -0800 |
commit | 9d4a6bd6bb4daf04a2ff2e0d2c01691c4e5d84be (patch) | |
tree | 3892584fd2cb5b8ace53aec485fe9a6ced6201d3 | |
parent | 2dc93bd5d19fa389b314eddd6dd8a62fae2be1be (diff) |
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.)
-rw-r--r-- | src/glsl/glcpp/glcpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |