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.
This commit is contained in:
Kenneth Graunke
2010-06-21 12:39:49 -07:00
parent 33eaa3e0b3
commit 62b4b7785a
2 changed files with 3 additions and 1 deletions

View File

@@ -155,6 +155,7 @@ struct glcpp_parser {
token_node_t *lex_from_node;
char *output;
char *info_log;
int error;
};
glcpp_parser_t *