From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../after-regular-expression-literal-thin-space.js | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 js/src/tests/test262/language/white-space/after-regular-expression-literal-thin-space.js (limited to 'js/src/tests/test262/language/white-space/after-regular-expression-literal-thin-space.js') diff --git a/js/src/tests/test262/language/white-space/after-regular-expression-literal-thin-space.js b/js/src/tests/test262/language/white-space/after-regular-expression-literal-thin-space.js new file mode 100644 index 0000000000..df26d3255c --- /dev/null +++ b/js/src/tests/test262/language/white-space/after-regular-expression-literal-thin-space.js @@ -0,0 +1,49 @@ +// This file was procedurally generated from the following sources: +// - src/insignificant-input-elements/thin-space.case +// - src/insignificant-input-elements/expression/after-regular-expression-literal.template +/*--- +description: U+2009 THIN SPACE (after regular expression literal) +esid: sec-lexical-and-regexp-grammars +flags: [generated] +info: | + Input elements other than white space and comments form the terminal symbols + for the syntactic grammar for ECMAScript and are called ECMAScript + tokens. These tokens are the reserved words, identifiers, literals, + and punctuators of the ECMAScript language. Moreover, line terminators, + although not considered to be tokens, also become part of the stream of input + elements and guide the process of automatic semicolon insertion + (). Simple + white space and single-line comments are discarded and do not appear in the + stream of input elements for the syntactic grammar. A |MultiLineComment| (that + is, a comment of the form `/*`…`*``/` regardless of whether it spans more + than one line) is likewise simply discarded if it contains no line terminator; + but if a |MultiLineComment| contains one or more line terminators, then it is + replaced by a single line terminator, which becomes part of the stream of + input elements for the syntactic grammar. + + + + Other category “Zs” + + + Any other Unicode “Space_Separator” code point + + + <USP> + + + + WhiteSpace :: + <TAB> + <VT> + <FF> + <SP> + <NBSP> + <ZWNBSP> + <USP> +---*/ + + +/x/g ; + +reportCompare(0, 0); -- cgit v1.2.3