Skip to content

Commit 4341797

Browse files
committed
parse "var using"
1 parent 383b8fa commit 4341797

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

quickjs-atom.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ DEF(if, "if")
3333
DEF(else, "else")
3434
DEF(return, "return")
3535
DEF(var, "var")
36-
DEF(using, "using")
3736
DEF(this, "this")
3837
DEF(delete, "delete")
3938
DEF(void, "void")
@@ -73,6 +72,7 @@ DEF(private, "private")
7372
DEF(protected, "protected")
7473
DEF(public, "public")
7574
DEF(static, "static")
75+
DEF(using, "using")
7676
DEF(yield, "yield")
7777
DEF(await, "await")
7878

quickjs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -18624,7 +18624,6 @@ enum {
1862418624
TOK_ELSE,
1862518625
TOK_RETURN,
1862618626
TOK_VAR,
18627-
TOK_USING,
1862818627
TOK_THIS,
1862918628
TOK_DELETE,
1863018629
TOK_VOID,
@@ -18664,6 +18663,7 @@ enum {
1866418663
TOK_PROTECTED,
1866518664
TOK_PUBLIC,
1866618665
TOK_STATIC,
18666+
TOK_USING,
1866718667
TOK_YIELD,
1866818668
TOK_AWAIT, /* must be last */
1866918669
TOK_OF, /* only used for js_parse_skip_parens_token() */

0 commit comments

Comments
 (0)