summaryrefslogtreecommitdiff
path: root/glcpp/glcpp-parse.y
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-18 19:52:36 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 12:38:39 -0700
commit33eaa3e0b3a8f94c2abb23ac3c9cbe571f170fb6 (patch)
tree10e52bcbd713a687e7d16618d82befaf6acd7782 /glcpp/glcpp-parse.y
parent03ee33809f2e5c6ecff827188ec33be5a9397c16 (diff)
glcpp: Rename "errors" to "info_log."
Eventually, we'll want to be be able to print out warnings as well.
Diffstat (limited to 'glcpp/glcpp-parse.y')
-rw-r--r--glcpp/glcpp-parse.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y
index 984a476851..c70370a6c3 100644
--- a/glcpp/glcpp-parse.y
+++ b/glcpp/glcpp-parse.y
@@ -859,11 +859,11 @@ _token_paste (glcpp_parser_t *parser, token_t *token, token_t *other)
}
glcpp_error (&token->location, parser, "");
- glcpp_print (parser->errors, "Pasting \"");
- _token_print (&parser->errors, token);
- glcpp_print (parser->errors, "\" and \"");
- _token_print (&parser->errors, other);
- glcpp_print (parser->errors, "\" does not give a valid preprocessing token.\n");
+ glcpp_print (parser->info_log, "Pasting \"");
+ _token_print (&parser->info_log, token);
+ glcpp_print (parser->info_log, "\" and \"");
+ _token_print (&parser->info_log, other);
+ glcpp_print (parser->info_log, "\" does not give a valid preprocessing token.\n");
return token;
}
@@ -909,7 +909,7 @@ glcpp_parser_create (void)
parser->lex_from_node = NULL;
parser->output = talloc_strdup(parser, "");
- parser->errors = talloc_strdup(parser, "");
+ parser->info_log = talloc_strdup(parser, "");
return parser;
}