aboutsummaryrefslogtreecommitdiffstats
path: root/parser.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-02-25 13:39:04 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-02-25 13:39:04 -0500
commit4af14b8c3e2b8c0ef230158b91e8a890dc34e523 (patch)
tree994ee5655739c51c66a3986f4af490733769cf6c /parser.cpp
parentfc0d3ed9cfebd853db2a2ab26993a186a29180b1 (diff)
reduce built-in word count
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.cpp b/parser.cpp
index af5da69..91c4e5c 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -62,8 +62,8 @@ int Parser::parseWord(State& state, Word word)
if (ins < 0) {
return parseNumber(state, word);
} else {
- imm = ins & CoreWords::Compiletime;
- ins &= ~CoreWords::Compiletime;
+ imm = ins & CoreWords::Immediate;
+ ins &= ~CoreWords::Immediate;
}
} else {
imm = state.dict.read(ins) & CoreWords::Immediate;