fix wrong const qualifier

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-13 00:11:07 +01:00
parent d60a76abd1
commit b61ae53ecd

2
ast.c
View file

@ -569,7 +569,7 @@ void ast_member_delete(ast_member *self)
ast_array_index* ast_array_index_new(lex_ctx ctx, ast_expression *array, ast_expression *index) ast_array_index* ast_array_index_new(lex_ctx ctx, ast_expression *array, ast_expression *index)
{ {
const ast_expression *outtype; ast_expression *outtype;
ast_instantiate(ast_array_index, ctx, ast_array_index_delete); ast_instantiate(ast_array_index, ctx, ast_array_index_delete);
outtype = array->expression.next; outtype = array->expression.next;