big temp status
Signed-off-by: Ava Hahn <ava@aidanis.online>
This commit is contained in:
parent
45453f819f
commit
5261efbc65
12 changed files with 960 additions and 224 deletions
|
|
@ -19,6 +19,7 @@ use crate::append::get_append;
|
|||
use crate::func::{func_declare, FTable};
|
||||
use crate::segment::Ctr;
|
||||
use crate::str::{get_concat, get_echo};
|
||||
use crate::control::{get_if};
|
||||
use crate::vars::{get_export, VTable};
|
||||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
|
|
@ -53,5 +54,9 @@ pub fn get_stdlib(conf: Rc<RefCell<VTable>>) -> Result<Rc<RefCell<FTable>>, Stri
|
|||
return Err(s);
|
||||
}
|
||||
|
||||
if let Some(s) = func_declare(ft.clone(), Rc::new(RefCell::new(get_if()))) {
|
||||
return Err(s);
|
||||
}
|
||||
|
||||
return Ok(ft);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue