added another test for the parser

This commit is contained in:
2025-03-19 15:16:43 -04:00
parent bbcbbe0ada
commit 3b0e576d29
11 changed files with 20179 additions and 17 deletions

View File

@@ -315,7 +315,10 @@ pub fn write_logic<T, F: FnOnce(&mut RwLockWriteGuard<LogTab>) -> T>(f: F) -> T
pub fn get_status() -> i32 {
read_vars(|v| v.get_param('?')).parse::<i32>().unwrap()
}
#[track_caller]
pub fn set_status(code: i32) {
flog!(DEBUG,std::panic::Location::caller());
flog!(DEBUG,code);
write_vars(|v| v.set_param('?', &code.to_string()))
}