1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
4 Corresponds To: 7.8.1-1.js
5 ECMA Section: 7.8.1 Rules of Automatic Semicolon Insertioin
7 Author: christine@netscape.com
8 Date: 15 september 1997
10 var SECTION = "lexical-049";
11 var VERSION = "JS1_4";
12 var TITLE = "The Rules of Automatic Semicolon Insertion";
15 writeHeaderToLog( SECTION + " "+ TITLE);
17 var result = "Failed";
18 var exception = "No exception thrown";
19 var expect = "Passed";
23 eval("for ( counter = 0\n"
27 + "result += \": got inside for loop\";\n"
32 exception = e.toString();
37 "line breaks within a for expression" +
38 " (threw " + exception +")",