aboutsummaryrefslogtreecommitdiffstats
path: root/parser.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-02-22 11:43:21 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-02-22 11:43:21 -0500
commitbf9f8a902bd820662ba2774d6e0e42d06616d56d (patch)
treeff840d932e1013b94491693ebf519690f91a8070 /parser.cpp
parent90c27fd4c92e4e5dd44c81eacca7790d762116d9 (diff)
move some corewords to core.fth; fix word reading
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.cpp b/parser.cpp
index 3c54adc..8a77df5 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -32,7 +32,7 @@ ParseStatus Parser::parse(State& state, std::string_view& str)
addr += sizeof(Cell) + Dictionary::InputCells - str.size() - 1;
for (char c : str)
state.dict.writebyte(addr++, c);
- state.dict.writebyte(addr, '\0');
+ state.dict.writebyte(addr, ' ');
return parseSource(state);
}