Remove unused includes from scanner.h.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 5 Sep 2011 07:39:47 +0000 (07:39 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 5 Sep 2011 07:39:47 +0000 (07:39 +0000)
This file should also be renamed to something else, as after many refactors,
there isn't any Scanner class in there, just four CharacterStream classes.

R=lrn@chromium.org

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Review URL: http://codereview.chromium.org/7835019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9124 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/parser.cc
src/scanner.h
test/cctest/test-regexp.cc

index a863165b015ac78d883a88f5ffc5bfab5e727e51..30d6f222de3dfd8fc2c88755558ba880f7d59d3d 100644 (file)
@@ -30,6 +30,7 @@
 #include "api.h"
 #include "ast-inl.h"
 #include "bootstrapper.h"
+#include "char-predicates-inl.h"
 #include "codegen.h"
 #include "compiler.h"
 #include "func-name-inferrer.h"
index e66dd60d84a16b3d776fde605e4ecac1a57561a1..6422ee8cab8ab71868b47f504d37e89fb3a47a4d 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef V8_SCANNER_H_
 #define V8_SCANNER_H_
 
-#include "token.h"
-#include "char-predicates-inl.h"
 #include "scanner-base.h"
 
 namespace v8 {
index 9f18b600b25162e028f9d7da319344528e58acd4..46ac88cd9241e5a5d48d457bb4ed5a291f50b1e4 100644 (file)
 
 #include "v8.h"
 
-#include "string-stream.h"
-#include "cctest.h"
-#include "zone-inl.h"
-#include "parser.h"
 #include "ast.h"
+#include "char-predicates-inl.h"
+#include "cctest.h"
 #include "jsregexp.h"
+#include "parser.h"
 #include "regexp-macro-assembler.h"
 #include "regexp-macro-assembler-irregexp.h"
+#include "string-stream.h"
+#include "zone-inl.h"
 #ifdef V8_INTERPRETED_REGEXP
 #include "interpreter-irregexp.h"
 #else  // V8_INTERPRETED_REGEXP