Commit 81ea52aa authored by Sakthipriyan Vairamani's avatar Sakthipriyan Vairamani
Browse files

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: default avatarJeremiah Senkpiel <fishrock123@rocketmail.com>
parent 30edb5ae
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment