add: vector SymbolTable init

This commit is contained in:
2026-08-23 13:10:18 +05:30
parent 27cd5943a1
commit c423f084ed
+10
View File
@@ -1,4 +1,5 @@
#![allow(unused_imports)]
#![allow(dead_code)]
use std::env;
use std::fs::File;
@@ -6,6 +7,15 @@ use std::io::{BufRead, BufReader};
use log::{debug, error, info, trace, warn};
use plume_log::{PlumeBuilder, success};
struct SymbolRow {
sym: String,
_type: String,
scope: String,
is_const: bool,
}
static SYM_TABLE: Vec<SymbolRow> = Vec::new();
fn main() -> std::io::Result<()>{
PlumeBuilder::new()
.with_level(log::LevelFilter::Trace)