This is important for incremental parsing, as it is where we can attach parse errors at the end of the file to. Also, it helps with things like emitting comments at the end of the file.
27 lines
723 B
TypeScript
27 lines
723 B
TypeScript
//// [parserS7.6.1.1_A1.10.ts]
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* The "for" token can not be used as identifier
|
|
*
|
|
* @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js
|
|
* @description Checking if execution of "for=1" fails
|
|
* @negative
|
|
*/
|
|
|
|
//for = 1;
|
|
|
|
|
|
|
|
//// [parserS7.6.1.1_A1.10.js]
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/**
|
|
* The "for" token can not be used as identifier
|
|
*
|
|
* @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js
|
|
* @description Checking if execution of "for=1" fails
|
|
* @negative
|
|
*/
|
|
//for = 1;
|