From 486e4709c537b17e98e42e9446cd7b694e14b18c Mon Sep 17 00:00:00 2001 From: James Harkins Date: Sat, 17 Dec 2011 09:18:44 +0800 Subject: [PATCH] Fix bug with ScelDocument string_ : backslashes needed to be escaped --- sc/storeLispOn.sc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sc/storeLispOn.sc b/sc/storeLispOn.sc index 9178207..046d567 100644 --- a/sc/storeLispOn.sc +++ b/sc/storeLispOn.sc @@ -41,7 +41,9 @@ ^this } storeLispOn { arg stream; - stream.put($").putAll(this.escapeChar($")).put($") + // note, extra space after \\ is for emacs paren matching + // not syntactically significant + stream.put($").putAll(this.escapeChar($").escapeChar($\\ )).put($") } }