Added totally unhelpful syntax error output.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 23 Aug 2009 01:48:38 -0400
changeset 785 5a0a763d74e1
parent 784 8039ea79b52c
child 786 795e7762da7f
Added totally unhelpful syntax error output.
mojoshader_parser_hlsl.lemon
--- a/mojoshader_parser_hlsl.lemon	Sun Aug 23 01:43:14 2009 -0400
+++ b/mojoshader_parser_hlsl.lemon	Sun Aug 23 01:48:38 2009 -0400
@@ -30,6 +30,10 @@
 #endif
 }
 
+%syntax_error {
+    fprintf(stderr,"Syntax error\n");
+}
+
 %parse_failure {
     fprintf(stderr,"Giving up.  Parser is hopelessly lost...\n");
 }