Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added totally unhelpful syntax error output.
  • Loading branch information
icculus committed Aug 23, 2009
1 parent cebad5a commit ab63a33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mojoshader_parser_hlsl.lemon
Expand Up @@ -30,6 +30,10 @@
#endif
}

%syntax_error {
fprintf(stderr,"Syntax error\n");
}

%parse_failure {
fprintf(stderr,"Giving up. Parser is hopelessly lost...\n");
}
Expand Down

0 comments on commit ab63a33

Please sign in to comment.