• bmeurer's avatar
    [es6] Correct parsing of regular expression literal flags. · 2732a6ad
    bmeurer authored
    ES6 section 12.2.8.1 states that flags for regular expression literals
    must be checked during parsing and invalid flags are early errors. This
    change adapts the Scanner and (Pre)Parser to act according to the spec.
    
    This is also a prerequisite to unify the handling of literal creation
    (for Objects, Arrays, Regexps, and at some point Classes).
    
    R=yangguo@chromium.org
    
    Review URL: https://codereview.chromium.org/1472323002
    
    Cr-Commit-Position: refs/heads/master@{#32273}
    2732a6ad
Name
Last commit
Last update
..
base Loading commit data...
compiler Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
runtime Loading commit data...
DEPS Loading commit data...
atomic-utils-unittest.cc Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
counters-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unittests.gyp Loading commit data...
unittests.isolate Loading commit data...
unittests.status Loading commit data...