From 6c18e94ad0f681f98d7a6c009b12339cd114ffd2 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 2 Mar 2011 21:29:29 -0800 Subject: [PATCH] Switch statements were dropping the ball on semantic analysis. --- mojoshader_compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mojoshader_compiler.c b/mojoshader_compiler.c index d6cab980..e75a7f54 100644 --- a/mojoshader_compiler.c +++ b/mojoshader_compiler.c @@ -2925,6 +2925,7 @@ static const MOJOSHADER_astDataType *type_check_ast(Context *ctx, void *_ast) type_check_ast(ctx, cases->statement); cases = cases->next; } // while + type_check_ast(ctx, ast->switchstmt.next); return NULL; } // case