Skip to content

Commit

Permalink
Switch statements were dropping the ball on semantic analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 3, 2011
1 parent 329b8b3 commit 6c18e94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_compiler.c
Expand Up @@ -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

Expand Down

0 comments on commit 6c18e94

Please sign in to comment.