remove strange file and print source in codegen test

This commit is contained in:
janis 2025-11-01 03:09:46 +01:00
parent 2ca60ace59
commit ea4611111b
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8
2 changed files with 1 additions and 1 deletions

View file

@ -1 +0,0 @@
let fn if

View file

@ -66,6 +66,7 @@ fn main() {
nodes: util::vec::Vec::new(),
};
let expr_id = parser(&mut ast);
eprintln!("{}", core::str::from_utf8_unchecked(src));
eprintln!("Parsed expression ID: {}", expr_id);
let mut symtable = core::mem::MaybeUninit::<util::defs::SymbolTable>::uninit();
util::defs::ast_build_symtable(&mut ast, expr_id, &mut symtable);