Skip to content

Commit

Permalink
Pacify compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 26, 2009
1 parent 3b3c994 commit 8e2fe3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_parser_hlsl.lemon
Expand Up @@ -486,6 +486,7 @@ switch_case ::= DEFAULT COLON statement_list.
switch_case ::= DEFAULT COLON.

%type identifier { TokenData }
%destructor identifier { (void) ctx; } // !!! FIXME: remove this later, it's just to shut up the compiler for now.
identifier(A) ::= IDENTIFIER(B).
{
A.token = B.token;
Expand Down

0 comments on commit 8e2fe3a

Please sign in to comment.