xbintsc 0.1.3 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -394,6 +394,10 @@ export class Parser {
394
394
 
395
395
  private parseStatementWithModifiers(modifiers: Modifier[]): Statement {
396
396
  switch (this.token.kind) {
397
+ case TokenKind.VarKeyword:
398
+ case TokenKind.LetKeyword:
399
+ case TokenKind.ConstKeyword:
400
+ return this.parseVariableStatement(modifiers);
397
401
  case TokenKind.FunctionKeyword:
398
402
  return this.parseFunctionDeclaration(modifiers);
399
403
  case TokenKind.ClassKeyword: