glcpp: Output to a buffer and error log rather than directly printing.

In the standalone case, simply print the buffers when done.
This commit is contained in:
Kenneth Graunke
2010-06-16 11:57:48 -07:00
parent 0656f6b875
commit 4c8a1af811
3 changed files with 60 additions and 48 deletions
+2
View File
@@ -141,6 +141,8 @@ struct glcpp_parser {
skip_node_t *skip_stack;
token_list_t *lex_from_list;
token_node_t *lex_from_node;
char *output;
char *errors;
};
glcpp_parser_t *