lib/smurf/javascript.rb in smurf-1.0.5 vs lib/smurf/javascript.rb in smurf-1.0.6

- old
+ new

@@ -129,10 +129,12 @@ if (@theA == "\'" || @theA == "\"") while (true) @output.write @theA @theA = get break if (@theA == @theB) - raise "Unterminated string literal" if (@theA <= "\n") + + # raise "Unterminated string literal" + debugger if (@theA <= "\n") if (@theA == "\\") # allow multi-line strings if each line is terminated by \\n (or \\r\n) if ["\r", "\n"].include? peek get # throw away the line ending get if ["\r", "\n"].include? peek