The Lambda Lab
/
projects
/
forth.jl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
REPL character substitution now working again.
[forth.jl.git]
/
src
/
forth.jl
diff --git
a/src/forth.jl
b/src/forth.jl
index
97e9c4b
..
ead0bbc
100644
(file)
--- a/
src/forth.jl
+++ b/
src/forth.jl
@@
-750,9
+750,9
@@
function getLineFromSTDIN()
function getFrag(s)
chars = collect(s)
- slashIdx = findlast(
chars, '\\'
)
+ slashIdx = findlast(
isequal('\\'), chars
)
- if slashIdx
> 0
+ if slashIdx
!= nothing
return join(chars[slashIdx:length(chars)])
else
return nothing