Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added a FIXME.
  • Loading branch information
icculus committed Jan 11, 2011
1 parent ec99b4c commit 0af8574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_compiler.c
Expand Up @@ -324,7 +324,6 @@ static inline void push_scope(Context *ctx)
push_variable(ctx, NULL, NULL);
} // push_scope


static void pop_symbol(Context *ctx, SymbolMap *map)
{
SymbolScope *item = map->scope;
Expand Down Expand Up @@ -2417,6 +2416,7 @@ static const MOJOSHADER_astDataType *type_check_ast(Context *ctx, void *_ast)
return NULL;

case MOJOSHADER_AST_STATEMENT_RETURN:
// !!! FIXME: type coercion to outer function's return type.
type_check_ast(ctx, ast->returnstmt.expr);
type_check_ast(ctx, ast->returnstmt.next);
return NULL;
Expand Down

0 comments on commit 0af8574

Please sign in to comment.