Skip to content

Commit

Permalink
fix(parser): fixed 'async' as 'IsExpressionStart'
Browse files Browse the repository at this point in the history
  • Loading branch information
KFlash committed Jan 9, 2021
1 parent 97c96f1 commit 5b7a592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ export const enum Token {

/* Contextual keywords */
AsKeyword = 107 | Contextual | IsExpressionStart,
AsyncKeyword = 108 | Contextual | IsIdentifier,
AsyncKeyword = 108 | Contextual | IsIdentifier | IsExpressionStart,
AwaitKeyword = 109 | Contextual | IsExpressionStart | IsIdentifier,
ConstructorKeyword = 110 | Contextual,
GetKeyword = 111 | Contextual | IsExpressionStart,
SetKeyword = 112 | Contextual | IsExpressionStart,
GetKeyword = 111 | Contextual,
SetKeyword = 112 | Contextual,
FromKeyword = 113 | Contextual,
OfKeyword = 114 | Contextual | IsInOrOf,
EnumKeyword = 115 | Reserved | IsExpressionStart,
Expand Down

0 comments on commit 5b7a592

Please sign in to comment.