repl: improving line continuation handling
As it is, REPL doesn't honour the line continuation feature very well.
This patch
1. keeps track of the beginning of the string literals and if they
don't end or current line doesn't end with line continuation, then
error out.
2. monitors if the line continuation character is used without the
string literal and errors out if that happens.
PR-URL: https://github.com/nodejs/io.js/pull/2163
Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
parent
30edb5ae
Please register or sign in to comment