mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
LibJS: Unprefixed octal numbers are a syntax error in strict mode
This commit is contained in:
parent
602eb98479
commit
46cc1f718e
4 changed files with 24 additions and 4 deletions
|
@ -139,6 +139,7 @@ private:
|
|||
void syntax_error(const String& message, size_t line = 0, size_t column = 0);
|
||||
Token consume();
|
||||
Token consume(TokenType type);
|
||||
Token consume_and_validate_numeric_literal();
|
||||
void consume_or_insert_semicolon();
|
||||
void save_state();
|
||||
void load_state();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue