• jwolfe's avatar
    Change error messages for octal escape sequences · 089e4fd3
    jwolfe authored
    When an octal escape sequence is in a string in strict mode:
    - Octal literals are not allowed in strict mode.
    + Octal escape sequences are not allowed in strict mode.
    
    When an octal escape sequence is in a template string:
    - Octal literals are not allowed in template strings.
    + Octal escape sequences are not allowed in template strings.
    
    BUG=v8:4973
    CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
    
    Review-Url: https://codereview.chromium.org/2551633002
    Cr-Commit-Position: refs/heads/master@{#41560}
    089e4fd3
strict-octal-use-strict-before.out 183 Bytes