diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-21 12:39:49 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-21 12:39:49 -0700 |
commit | 62b4b7785a01f11e7fcd9bf76dae6b3c0a16d537 (patch) | |
tree | 9840d33bbb8521fcbeb7a57d0be6a3e0d40c5e2a /glcpp/glcpp.h | |
parent | 33eaa3e0b3a8f94c2abb23ac3c9cbe571f170fb6 (diff) |
glcpp: Add boolean 'error' flag.
We used to check if the info log is non-empty, but when we print
warnings, this will no longer be valid.
Diffstat (limited to 'glcpp/glcpp.h')
-rw-r--r-- | glcpp/glcpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glcpp/glcpp.h b/glcpp/glcpp.h index e67469be2e..8167a481d5 100644 --- a/glcpp/glcpp.h +++ b/glcpp/glcpp.h @@ -155,6 +155,7 @@ struct glcpp_parser { token_node_t *lex_from_node; char *output; char *info_log; + int error; }; glcpp_parser_t * |