Reviewers: dcarney,

Message:
Committed patchset #1 manually as r17862.

Description:
Experimental lexer generator: Add test files.

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=17862

Please review this at https://codereview.chromium.org/61073005/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser

Affected files (+3, -13 lines):
  A + test/cornercases/end-inside-comment.js
  A + test/cornercases/end-inside-string.js
  A + test/cornercases/end-inside-string2.js


Index: test/cornercases/end-inside-comment.js
diff --git a/test/message/instanceof.js b/test/cornercases/end-inside-comment.js
similarity index 96%
copy from test/message/instanceof.js
copy to test/cornercases/end-inside-comment.js
index 1d55e0f94ebf1ff421ee80b7c7818fb4df7a18f2..48e14d7e4b0085c54b3ec8557cca475bc12d30b7 100644
--- a/test/message/instanceof.js
+++ b/test/cornercases/end-inside-comment.js
@@ -25,4 +25,4 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-1 instanceof 2;
+/*this file ends inside a comment -- that can't be good!
\ No newline at end of file
Index: test/cornercases/end-inside-string.js
diff --git a/test/mjsunit/regress/regress-173361.js b/test/cornercases/end-inside-string.js
similarity index 95%
copy from test/mjsunit/regress/regress-173361.js
copy to test/cornercases/end-inside-string.js
index f9cfb6684c0d52996c7ceac8412defbaf48a5eeb..625a4d6bfe1f20b5fd76863210b69ad2a4c584b8 100644
--- a/test/mjsunit/regress/regress-173361.js
+++ b/test/cornercases/end-inside-string.js
@@ -25,9 +25,4 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-// Flags: --harmony
-
-const x = 7;
-
-function f() { const y = 8; }
-f();
+var description = "this file ends inside a string -- that can't be good!
\ No newline at end of file
Index: test/cornercases/end-inside-string2.js
diff --git a/test/mjsunit/regress/regress-173361.js b/test/cornercases/end-inside-string2.js
similarity index 95%
copy from test/mjsunit/regress/regress-173361.js
copy to test/cornercases/end-inside-string2.js
index f9cfb6684c0d52996c7ceac8412defbaf48a5eeb..35c9e5a2beb0b723415b379801b1bb7ca333853f 100644
--- a/test/mjsunit/regress/regress-173361.js
+++ b/test/cornercases/end-inside-string2.js
@@ -25,9 +25,4 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-// Flags: --harmony
-
-const x = 7;
-
-function f() { const y = 8; }
-f();
+var description = 'this file ends inside a string -- that can't be good!
\ No newline at end of file


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to