summaryrefslogtreecommitdiffstats
path: root/src/forth/compiler.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-12-15 09:44:53 -0500
committerBrian Cully <bjc@spork.org>2025-12-15 09:44:53 -0500
commitf0000e8b134a2e68b1ddbb554b958aef79fc31f4 (patch)
tree008b458af4fd5ee947d37d3a41e70d590032ce92 /src/forth/compiler.rs
parentd3674a9ea6e99beeb5d957d37632d1d8929d0206 (diff)
downloadautomathon-f0000e8b134a2e68b1ddbb554b958aef79fc31f4.tar.gz
automathon-f0000e8b134a2e68b1ddbb554b958aef79fc31f4.zip
vm: Add boolean operators for not, and, or, and xor
Diffstat (limited to 'src/forth/compiler.rs')
-rw-r--r--src/forth/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/forth/compiler.rs b/src/forth/compiler.rs
index b518b7e..5a6d502 100644
--- a/src/forth/compiler.rs
+++ b/src/forth/compiler.rs
@@ -242,7 +242,7 @@ mod tests {
use super::super::vm::OpCode;
use super::*;
- fn compiler_for(text: &str) -> Compiler {
+ fn compiler_for(text: &str) -> Compiler<'_> {
let mut p = Compiler::new(text);
p.compile().expect("badparse");
p