The Lambda Lab
/
projects
/
forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fc4b0e
)
REPL character substitution now working again.
author
Tim Vaughan
<tgvaughan@gmail.com>
Tue, 4 Sep 2018 08:25:02 +0000
(10:25 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Tue, 4 Sep 2018 08:39:56 +0000
(10:39 +0200)
src/forth.jl
patch
|
blob
|
history
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