diff options
| author | Jonas Maier <> | 2026-03-12 12:17:15 +0100 |
|---|---|---|
| committer | Jonas Maier <> | 2026-03-12 12:17:15 +0100 |
| commit | ad9572cc6e89634a4d029cc8d311bb51626c17c3 (patch) | |
| tree | 944c79c7e627b54ab1bc4cbb793e64c9ebd708bd /src/main.rs | |
| parent | 8dea55071464739bd1b8ef33ed5c294183d4780a (diff) | |
| download | pish-ad9572cc6e89634a4d029cc8d311bb51626c17c3.tar.gz | |
start of better parsing for proper blocks
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 9e9d640..2afdbcb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,7 +38,7 @@ use crate::completion::PathCache; use crate::ctrlc::CtrlC; use crate::cursor::{Direction, move_cursor}; use crate::history::HistoryEntry; -use crate::parse::{Ast, PreExpansion}; +use crate::parse::{Ast, Block, PreExpansion}; use crate::run::Executor; macro_rules! print { @@ -83,7 +83,7 @@ pub struct Session { prev_path: BString, builtins: HashMap<BString, &'static dyn run::Builtin>, vars: HashMap<BString, BString>, - funs: HashMap<BString, Ast<PreExpansion>>, + funs: HashMap<BString, Block>, socket_running: Option<export_fun::SocketRunning>, path_cache: PathCache, ctrlc: CtrlC, |
