Skip to content

Commit

Permalink
program-in-chinese#2 部分关键字建议
Browse files Browse the repository at this point in the history
  • Loading branch information
testacount1 committed Oct 21, 2017
1 parent de5336d commit fef14cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ namespace ts {
"声明": SyntaxKind.DeclareKeyword,
"默认": SyntaxKind.DefaultKeyword,
"删除": SyntaxKind.DeleteKeyword,
"开始": SyntaxKind.DoKeyword,
"运行": SyntaxKind.DoKeyword,
"否则": SyntaxKind.ElseKeyword,
"枚举": SyntaxKind.EnumKeyword,
"导出": SyntaxKind.ExportKeyword,
"扩展": SyntaxKind.ExtendsKeyword,

"为假": SyntaxKind.FalseKeyword,
"": SyntaxKind.FalseKeyword,

"最后": SyntaxKind.FinallyKeyword,
"循环": SyntaxKind.ForKeyword,
Expand Down Expand Up @@ -267,7 +267,7 @@ namespace ts {

"抛出": SyntaxKind.ThrowKeyword,

"为真": SyntaxKind.TrueKeyword,
"": SyntaxKind.TrueKeyword,

"尝试": SyntaxKind.TryKeyword,
"类型": SyntaxKind.TypeKeyword,
Expand All @@ -278,7 +278,7 @@ namespace ts {
"变量": SyntaxKind.VarKeyword,
"无值": SyntaxKind.VoidKeyword,

"判断": SyntaxKind.WhileKeyword,
"只要": SyntaxKind.WhileKeyword,

"外扩": SyntaxKind.WithKeyword,
"获得": SyntaxKind.YieldKeyword,
Expand Down

0 comments on commit fef14cd

Please sign in to comment.