This commit is contained in:
Jeremy Ashkenas
2009-12-24 01:22:41 -05:00
parent b1f3ad24a2
commit 0a58eeef2b
7 changed files with 45 additions and 27 deletions

View File

@@ -89,7 +89,7 @@ module CoffeeScript
return false unless string = @chunk[STRING, 1]
escaped = string.gsub(MULTILINER) do |match|
@line += 1
"\\\n"
" \\\n"
end
token(:STRING, escaped)
@i += string.length