Implement ECMAScript 2022 class static block (#4841)
Co-authored-by: Martin Negyokru negyokru@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
@@ -2083,6 +2083,7 @@ scanner_cleanup (parser_context_t *context_p) /**< context */
|
||||
#if JERRY_ESNEXT
|
||||
case SCANNER_TYPE_INITIALIZER:
|
||||
case SCANNER_TYPE_CLASS_FIELD_INITIALIZER_END:
|
||||
case SCANNER_TYPE_CLASS_STATIC_BLOCK_END:
|
||||
#endif /* JERRY_ESNEXT */
|
||||
{
|
||||
size = sizeof (scanner_location_info_t);
|
||||
|
||||
Reference in New Issue
Block a user