From 578229132e35075ef191ee960460d237c3ace3b8 Mon Sep 17 00:00:00 2001 From: nic-gaffney Date: Sun, 25 Jun 2023 22:33:13 -0500 Subject: [PATCH] fixed a bug i think --- build.sh | 1 + sloth/src/main.rs | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..178169f --- /dev/null +++ b/build.sh @@ -0,0 +1 @@ +cargo build --features=llvm-sys/prefer-dynamic diff --git a/sloth/src/main.rs b/sloth/src/main.rs index bdcb4cb..957145d 100644 --- a/sloth/src/main.rs +++ b/sloth/src/main.rs @@ -11,7 +11,6 @@ pub mod analysis; pub mod codegen; pub mod lexer; pub mod parser; -pub mod sloth_std; pub mod symtable; use std::{env, fs}; @@ -24,7 +23,7 @@ use parser::AstParser; use symtable::{Symbol, SymbolTable}; use crate::analysis::analyze; -use crate::parser::graph::GraphBuilder; + use crate::symtable::Type; fn main() {