• adamk's avatar
    [es6] Remove Scanner and Parser flags for harmony_modules · 5c34bacb
    adamk authored
    These flags weren't doing any real work, since the decision of whether some
    source code is a script or module is made outside the parser (currently,
    by the V8 API).
    
    The only behavior change in this patch is to always parse 'import' and
    'export' as their Token values, which changes the error message from
    "Unexpected reserved word" to "Unexpected token import" (which doesn't
    seem particularly harmful).
    
    Review URL: https://codereview.chromium.org/1262913003
    
    Cr-Commit-Position: refs/heads/master@{#30034}
    5c34bacb
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...