Fix a pair of compilation failure bugs in test files due to r5576.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 1 Oct 2010 15:32:32 +0000 (15:32 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 1 Oct 2010 15:32:32 +0000 (15:32 +0000)
commit5d1dac259ac45ad185359d4768c4eca53df23cf9
treec18114811a36167992099afbaa413521f015c1ef
parentd0fcd24c03a433b3ec0012e9327d2599c8a2889f
Fix a pair of compilation failure bugs in test files due to r5576.

1. parser.h depends on ast.h, but only gets it included implicitly
   everywhere parser.h is included (except for tests).  Include ast.h in
   parser.h.

2. Regular expression tests test the free functions that have just been
   moved into class Parser.

TBR=fschneider@chromium.org

Review URL: http://codereview.chromium.org/3602007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5577 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.h
test/cctest/test-regexp.cc