Skip to content

Commit be3eb1a

Browse files
Delete only-number command
1 parent b4e85ed commit be3eb1a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1063,12 +1063,6 @@ impl Executor {
10631063
}
10641064
}
10651065

1066-
// Is string include only number
1067-
"only-number" => match self.pop_stack().get_string().trim().parse::<f64>() {
1068-
Ok(_) => self.stack.push(Type::Bool(true)),
1069-
Err(_) => self.stack.push(Type::Bool(false)),
1070-
},
1071-
10721066
// Get memory information
10731067
"mem" => {
10741068
let mut list: Vec<Type> = Vec::new();

0 commit comments

Comments
 (0)