Added totally unhelpful syntax error output.
--- 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");
}