Reviewers: Mads Ager, Description: Move part of scanner.* into scanner-base.* for reuse in preparser scanner. Make checks.h not depend on flags.h or global.h (or anything else except include/v8stdint.h). Only checks.cc has the dependencies (so another implementation of checks.cc can be provided by the preparser). Now files depending on checks.h (using ASSERT macros) can include it directly without depending on all of v8.
Please review this at http://codereview.chromium.org/4576001/show Affected files: M src/SConscript M src/checks.h M src/checks.cc M src/preparser.h A src/scanner-base.h A src/scanner-base.cc M src/scanner.h M src/scanner.cc M src/token.h M test/cctest/test-parsing.cc M tools/gyp/v8.gyp M tools/v8.xcodeproj/project.pbxproj M tools/visual_studio/v8_base.vcproj -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
