glcpp: Add glcpp_warning for printing warnings to the info log.

This commit is contained in:
Kenneth Graunke
2010-06-18 19:54:25 -07:00
parent 62b4b7785a
commit c9529c4d77
2 changed files with 21 additions and 0 deletions
+5
View File
@@ -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