Fixed parsing of HLSL functions that return void.
--- a/mojoshader_parser_hlsl.lemon Sun Aug 23 01:04:49 2009 -0400
+++ b/mojoshader_parser_hlsl.lemon Sun Aug 23 01:21:43 2009 -0400
@@ -85,6 +85,7 @@
function_signature ::= function_details.
function_details ::= datatype identifier LPAREN function_arguments RPAREN.
+function_details ::= VOID identifier LPAREN function_arguments RPAREN.
// !!! FIXME: there is a "target" storage class that is the name of the
// !!! FIXME: platform that this function is meant for...but I don't know