Pacify compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 26 Aug 2009 00:32:04 -0400
changeset 795 5a6c79a74662
parent 794 55bd6ae8be53
child 796 ab5e4797e0cb
Pacify compiler warning.
mojoshader_parser_hlsl.lemon
--- a/mojoshader_parser_hlsl.lemon	Wed Aug 26 00:17:25 2009 -0400
+++ b/mojoshader_parser_hlsl.lemon	Wed Aug 26 00:32:04 2009 -0400
@@ -486,6 +486,7 @@
 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;