glcpp: Initialize error state.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 20:55:12 +0000 (13:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 20:55:12 +0000 (13:55 -0700)
glcpp/glcpp-parse.y

index c314e9556cedbf858adb016eccf931afc61a71ed..2ce8632a28d1b85633fd03208317461b6f2b156d 100644 (file)
@@ -950,6 +950,7 @@ glcpp_parser_create (void)
 
        parser->output = talloc_strdup(parser, "");
        parser->info_log = talloc_strdup(parser, "");
+       parser->error = 0;
 
        return parser;
 }