commit | 4c8a1af8117ac8e69883c6ef88d3f3b073dc6e0a | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Wed Jun 16 11:57:48 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Jun 21 11:25:50 2010 -0700 |
tree | 45e494f6ba74a7b3fa91c3bd807a764136ada61c | |
parent | 0656f6b8750fe6139f74914bfe4e2c394db594e4 [diff] [blame] |
glcpp: Output to a buffer and error log rather than directly printing. In the standalone case, simply print the buffers when done.
diff --git a/glcpp/glcpp.h b/glcpp/glcpp.h index 4459daa..ac103b7 100644 --- a/glcpp/glcpp.h +++ b/glcpp/glcpp.h
@@ -141,6 +141,8 @@ skip_node_t *skip_stack; token_list_t *lex_from_list; token_node_t *lex_from_node; + char *output; + char *errors; }; glcpp_parser_t *