More fixes from clang warnings. Parser::lex prep for changes

parse_static_assert now properly adds new-line to end of statement.

I'm going to end up making a static_assert ast... that or when the statement ast is made it will handle adding that newline.
This commit is contained in:
ed committed 2023-09-07 22:52:51 -04:00
1 parent 0a8d3bfc6a
commit 6ea40094ee
6 files changed
+93 -42

No files matched your search

+1 -1
View File
@@ -485,7 +485,7 @@ struct FixedArena
static
FixedArena init()
{
FixedArena result = { Arena::init_from_memory( result.memory, Size ), 0 };
FixedArena result = { Arena::init_from_memory( result.memory, Size ), {0} };
return result;
}