Added preparser strict-mode tests.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 19 May 2011 09:01:46 +0000 (09:01 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 19 May 2011 09:01:46 +0000 (09:01 +0000)
commit7db97de8e0e8d93a6411e0195dd77d1c5ad4a60a
tree7a34d52790fe9564601efecf1df844158c1672f7
parente7484dbd019b500b64a5177c6cea0d83f50a999c
Added preparser strict-mode tests.

Now tests for use of eval, arguments, reserved words and with statement.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7951 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
42 files changed:
preparser/preparser-process.cc
src/preparse-data.cc
src/preparser.cc
src/preparser.h
test/preparser/nonstrict-arguments.js [new file with mode: 0644]
test/preparser/nonstrict-eval.js [new file with mode: 0644]
test/preparser/nonstrict-with.js [new file with mode: 0644]
test/preparser/preparser.expectation
test/preparser/strict-arguments-argument-own.js [new file with mode: 0644]
test/preparser/strict-arguments-argument.js [new file with mode: 0644]
test/preparser/strict-arguments-assign.js [new file with mode: 0644]
test/preparser/strict-arguments-catch.js [new file with mode: 0644]
test/preparser/strict-arguments-func-own.js [new file with mode: 0644]
test/preparser/strict-arguments-func.js [new file with mode: 0644]
test/preparser/strict-arguments-funcexp.js [new file with mode: 0644]
test/preparser/strict-arguments-op-assign.js [new file with mode: 0644]
test/preparser/strict-arguments-postfix.js [new file with mode: 0644]
test/preparser/strict-arguments-prefix.js [new file with mode: 0644]
test/preparser/strict-arguments-var.js [new file with mode: 0644]
test/preparser/strict-eval-argument-own.js [new file with mode: 0644]
test/preparser/strict-eval-argument.js [new file with mode: 0644]
test/preparser/strict-eval-assign.js [new file with mode: 0644]
test/preparser/strict-eval-catch.js [new file with mode: 0644]
test/preparser/strict-eval-func-own.js [new file with mode: 0644]
test/preparser/strict-eval-func.js [new file with mode: 0644]
test/preparser/strict-eval-funcexp.js [new file with mode: 0644]
test/preparser/strict-eval-op-assign.js [new file with mode: 0644]
test/preparser/strict-eval-postfix.js [new file with mode: 0644]
test/preparser/strict-eval-prefix.js [new file with mode: 0644]
test/preparser/strict-eval-var.js [new file with mode: 0644]
test/preparser/strict-with.js [new file with mode: 0644]
test/preparser/strict-yield-argument-own.js [new file with mode: 0644]
test/preparser/strict-yield-argument.js [new file with mode: 0644]
test/preparser/strict-yield-assign.js [new file with mode: 0644]
test/preparser/strict-yield-catch.js [new file with mode: 0644]
test/preparser/strict-yield-func-own.js [new file with mode: 0644]
test/preparser/strict-yield-func.js [new file with mode: 0644]
test/preparser/strict-yield-funcexp.js [new file with mode: 0644]
test/preparser/strict-yield-op-assign.js [new file with mode: 0644]
test/preparser/strict-yield-postfix.js [new file with mode: 0644]
test/preparser/strict-yield-prefix.js [new file with mode: 0644]
test/preparser/strict-yield-var.js [new file with mode: 0644]