Skip to content

Commit

Permalink
trying again on issue #100. unescape only " for macro arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jul 9, 2011
1 parent 793b9a5 commit 40cf0d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion j/client.j
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jl_banner_color =
$(jl)_ _ _| |_ __ _$(tx) | pre-release version
$(jl)| | | | | | |/ _` |$(tx) |
$(jl)| | |_| | | | (_| |$(tx) |
$(jl)_/ |\\\\__'_|_|_|\\\\__'_|$(tx) |
$(jl)_/ |\\__'_|_|_|\\__'_|$(tx) |
$(jl)|__/$(tx) |

\033[0m"
Expand Down
4 changes: 2 additions & 2 deletions src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@
#t
(begin (if (eqv? c #\\)
(let ((nextch (read-char buf)))
(if (or (eqv? nextch #\") (eqv? nextch #\\))
(if (eqv? nextch #\")
(write-char nextch b)
(begin (write-char #\\ b)
(write-char nextch b))))
Expand All @@ -885,7 +885,7 @@
#t
(begin (if (eqv? c #\\)
(let ((nextch (read-char p)))
(if (or (eqv? nextch #\") (eqv? nextch #\\))
(if (eqv? nextch #\")
(set! hasquotes #t))
(begin (write-char #\\ b)
(write-char (not-eof-3 nextch) b)))
Expand Down

0 comments on commit 40cf0d8

Please sign in to comment.