summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-21 13:55:12 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 13:55:12 -0700
commit1b85c46bcf30a666493c9b4cda03617e8a81b13a (patch)
tree35163cac30658ee9c7472cdfa44b648d06b69007
parent332fc47dc0998ac8e0a47e1ecded8829e712bde6 (diff)
glcpp: Initialize error state.
-rw-r--r--glcpp/glcpp-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y
index c314e9556c..2ce8632a28 100644
--- a/glcpp/glcpp-parse.y
+++ b/glcpp/glcpp-parse.y
@@ -950,6 +950,7 @@ glcpp_parser_create (void)
parser->output = talloc_strdup(parser, "");
parser->info_log = talloc_strdup(parser, "");
+ parser->error = 0;
return parser;
}