From 7d663615b2a44715e7447a40cae467d7d4e38b9c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 14 Sep 2019 00:52:24 +0200 Subject: Start on opengl test, fix stack alignment before call (sys-v) --- src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.c') diff --git a/src/parser.c b/src/parser.c index 01c1d9f..ed99eb0 100644 --- a/src/parser.c +++ b/src/parser.c @@ -383,7 +383,7 @@ static CHECK_RESULT FunctionDecl* parser_parse_closure(Parser *self) { TODO: Implement function declaration inside other functions. Such functions should be moved to the file scope in the bytecode generation */ - assert(parser_is_current_scope_file_scope(self)); + assert(parser_is_current_scope_file_scope(self) && "TODO: Implement function declaration inside other functions."); throw_if_error(arena_allocator_alloc(self->allocator, sizeof(FunctionDecl), (void**)&result)); throw_if_error(funcdecl_init(result, signature, self->current_scope, self->allocator)); -- cgit v1.2.3