Move compilation error handling into a separate class.
authormarja <marja@chromium.org>
Wed, 25 Feb 2015 14:17:39 +0000 (06:17 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 14:18:34 +0000 (14:18 +0000)
commit238ad54d0f8634376dae2246070602af101f63ad
treed10e810772eab12bdfa19b35b2510cdf2a04e614
parentb00ff50d52c4ec09af67eb873865b37f751884da
Move compilation error handling into a separate class.

In addition to Parser, other phases (such as scope analysis) need to handle
compilation errors in the future. PendingCompilationErrorHandled takes care of
error handling in a unified way.

Split from https://codereview.chromium.org/943543002/ .

R=rossberg@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#26853}
BUILD.gn
src/parser.cc
src/parser.h
src/pending-compilation-error-handler.cc [new file with mode: 0644]
src/pending-compilation-error-handler.h [new file with mode: 0644]
tools/gyp/v8.gyp