You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.
IgnoredAmbience
changed the title
Parser Interface?: "use strict" with line continuation mishandled
Parser Interface?: "use strict" with lexing 'irregularities' mishandled
Jul 20, 2015
From the standard:
A Use Strict Directive is an ExpressionStatement in a Directive Prologue
whose StringLiteral is either the exact
character sequences "use strict" or 'use strict'. A Use Strict Directive
may not contain an
EscapeSequence or LineContinuation.
I have to admit that I’m quite impressed by this part of the standard: I
really thought that escaping a string would result into the exact same
behaviour. It seems EcmaScript thinks otherwise… :-
However, I don’t know this part of the interpreter, sorry.
tests/test262/ch14/14.1/14.1-4-s.js tests for
Esprima outputs:
I think we're using the value instead of raw_value?
The text was updated successfully, but these errors were encountered: