From ddacf1dd8824e825b0967130742a142d651654d1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 23 Aug 2009 01:21:43 -0400 Subject: [PATCH] Fixed parsing of HLSL functions that return void. --- mojoshader_parser_hlsl.lemon | 1 + 1 file changed, 1 insertion(+) diff --git a/mojoshader_parser_hlsl.lemon b/mojoshader_parser_hlsl.lemon index 71d6e3cf..5471ac39 100644 --- a/mojoshader_parser_hlsl.lemon +++ b/mojoshader_parser_hlsl.lemon @@ -85,6 +85,7 @@ function_signature ::= function_details semantic. 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