Clang format + meta fix

This commit is contained in:
Krzosa Karol
2023-03-29 09:24:30 +02:00
parent c97bb4272b
commit e13b4b7f25
7 changed files with 40 additions and 34 deletions

View File

@@ -696,7 +696,8 @@ lex_restream(Core_Ctx *lexer, String istream, String file) {
CORE_Static const char *
name(Token_Kind kind) {
switch (kind) {
case TK_End: return "End of stream";
case TK_End:
return "End of stream";
/*#
import meta
for i in meta.token_kinds:

4
meta.bat Normal file
View File

@@ -0,0 +1,4 @@
@echo off
call meta_run.bat preprocess cpp
clang-format -i *.cpp *.hpp *.h

View File

@@ -62,3 +62,4 @@ for file_to_modify in files:
fd.write(f)
fd.truncate()
fd.close()