Parser fix: check allow_harmony_scoping() instead of FLAG_harmony_scoping.
authormarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 24 Mar 2014 14:41:55 +0000 (14:41 +0000)
committermarja@chromium.org <marja@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 24 Mar 2014 14:41:55 +0000 (14:41 +0000)
commitb4d617e48dbde1e96c64221bfddc036987255217
treee86063e377c4a966a8688a2f6107c06e56ac553a
parent5fd9ddbcbbe9cc4394caa2d38760bc1b7f312cd9
Parser fix: check allow_harmony_scoping() instead of FLAG_harmony_scoping.

Without this fix, ParserBase::set_allow_harmony_scoping() and the
kAllowHarmonyScoping in test-parsing.cc don't have any effect, and we end up not
running the tests with harmony scoping allowed.

R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/209993002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20200 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
src/preparser.cc