1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 07:55:07 +00:00
serenity/Userland/Libraries/LibJS
Linus Groh 714a96619f LibJS: Disallow whitespace or comments between regex literal and flags
If we consumed whitespace and/or comments after a RegexLiteral token,
the following token must not be RegexFlags - no whitespace or comments
are allowed between the closing / and the flag characters.

Fixes #8201.
2021-06-22 14:08:40 +01:00
..
Bytecode LibJS: Rename VM::current_scope() => current_environment_record() 2021-06-21 23:49:50 +02:00
Heap LibJS: Don't generate unused HeapBlock names on non-SerenityOS systems 2021-06-13 19:11:29 +02:00
Runtime LibJS: Implement the NewObjectEnvironment() abstract operation 2021-06-22 01:17:15 +02:00
Tests LibJS: Add the Number.prototype.toFixed method 2021-06-19 16:13:59 +01:00
AST.cpp LibJS: Implement the NewObjectEnvironment() abstract operation 2021-06-22 01:17:15 +02:00
AST.h LibJS: Add bytecode support for regexp literals 2021-06-21 00:28:07 +02:00
CMakeLists.txt LibJS: Rename Environment Records so they match the spec :^) 2021-06-21 23:49:50 +02:00
Console.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Add ObjectEnvironmentRecord to Forward.h 2021-06-22 01:17:15 +02:00
Interpreter.cpp LibJS: Rename VM::current_scope() => current_environment_record() 2021-06-21 23:49:50 +02:00
Interpreter.h LibJS: Rename VM::current_scope() => current_environment_record() 2021-06-21 23:49:50 +02:00
Lexer.cpp LibJS: Disallow whitespace or comments between regex literal and flags 2021-06-22 14:08:40 +01:00
Lexer.h Userland: Allow building SerenityOS with -funsigned-char 2021-06-13 18:52:58 +02:00
MarkupGenerator.cpp LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp LibJS: Rename Environment Records so they match the spec :^) 2021-06-21 23:49:50 +02:00
Parser.h LibJS: Rename Parser::m_parser_state => m_state 2021-06-21 20:58:55 +02:00
SourceRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp LibJS: Use the new is_ascii_foo() helpers from AK 2021-06-13 19:11:29 +02:00
Token.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00