| 1 |
// Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
esid: sec-literals-regular-expression-literals |
| 6 |
info: | |
| 7 |
RegularExpressionLiteral:: |
| 8 |
/ RegularExpressionBody / RegularExpressionFlags |
| 9 |
|
| 10 |
RegularExpressionBody :: |
| 11 |
RegularExpressionFirstChar RegularExpressionChars |
| 12 |
|
| 13 |
RegularExpressionChars:: |
| 14 |
[empty] |
| 15 |
|
| 16 |
MemberExpression . IdentifierName |
| 17 |
|
| 18 |
description: A regular expression may not be empty. |
| 19 |
negative: |
| 20 |
phase: parse |
| 21 |
type: SyntaxError |
| 22 |
---*/ |
| 23 |
|
| 24 |
throw "Test262: This statement should not be evaluated."; |
| 25 |
|
| 26 |
// |
| 27 |
.source; |