Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repl: backslash bug fix #2968

Closed
wants to merge 1 commit into from
Closed

Commits on Sep 20, 2015

  1. repl: backslash bug fix

    The actual problem was with the line parsing logic for string literals.
    When we use backslash in the string literals, it used to remember the
    `\` as the previous character even after we parsed the character next
    to it. This leads to REPL thinking that the end of string literals is
    not reached.
    
    This patch replaces the previous character with `null`, so that it will
    properly skip the character next to it.
    
    Previous Discussion: nodejs#2952
    Fixes: nodejs#2749
    thefourtheye committed Sep 20, 2015
    Configuration menu
    Copy the full SHA
    8edd6b4 View commit details
    Browse the repository at this point in the history