Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed parsing of HLSL functions that return void.
  • Loading branch information
icculus committed Aug 23, 2009
1 parent 066c5f7 commit ddacf1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_parser_hlsl.lemon
Expand Up @@ -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
Expand Down

0 comments on commit ddacf1d

Please sign in to comment.