mojoshader_parser_hlsl.lemon
changeset 910 3ee487d85ecb
parent 858 d51537335896
child 917 85afb474f99d
--- a/mojoshader_parser_hlsl.lemon	Tue Apr 06 16:03:27 2010 -0400
+++ b/mojoshader_parser_hlsl.lemon	Mon May 31 19:21:12 2010 -0400
@@ -84,6 +84,7 @@
 
 %type compilation_unit { CompilationUnit * }
 %destructor compilation_unit { delete_compilation_unit(ctx, $$); }
+//compilation_unit(A) ::= PRAGMA . { A = NULL; }   // !!! FIXME: deal with pragmas.
 compilation_unit(A) ::= variable_declaration(B). { A = new_global_variable(ctx, B); }
 compilation_unit(A) ::= function_signature(B) SEMICOLON. { A = new_function(ctx, B, NULL); }
 compilation_unit(A) ::= function_signature(B) statement_block(C). { A = new_function(ctx, B, C); }