summaryrefslogtreecommitdiff
path: root/glcpp/glcpp.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-18 19:54:25 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 12:41:05 -0700
commitc9529c4d7727e0ff9da71f0941746e4d213dd689 (patch)
tree223030d395fe0895ec7b33c08ddb24eb1e5c9551 /glcpp/glcpp.h
parent62b4b7785a01f11e7fcd9bf76dae6b3c0a16d537 (diff)
glcpp: Add glcpp_warning for printing warnings to the info log.
Diffstat (limited to 'glcpp/glcpp.h')
-rw-r--r--glcpp/glcpp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/glcpp/glcpp.h b/glcpp/glcpp.h
index 8167a481d5..bb0ac95aed 100644
--- a/glcpp/glcpp.h
+++ b/glcpp/glcpp.h
@@ -167,9 +167,14 @@ glcpp_parser_parse (glcpp_parser_t *parser);
void
glcpp_parser_destroy (glcpp_parser_t *parser);
+/* Functions for writing to the info log */
+
void
glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
+void
+glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
+
/* Generated by glcpp-lex.l to glcpp-lex.c */
int