浏览代码

Merge pull request #2289 from Rune-Magic/patch-1

Add `repeat` to list of reserved names
Brian Fiete 2 月之前
父节点
当前提交
2068c25212
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BeefLibs/corlib/src/Compiler.bf

+ 1 - 1
BeefLibs/corlib/src/Compiler.bf

@@ -17,7 +17,7 @@ namespace System
 				"delete", "do", "else", "enum", "explicit", "extension", "extern", "false", "finally", "fixed", "for", "function",
 				"if", "implicit", "in", "interface", "internal", "is", "isconst", "mixin", "namespace", "new", "null", "nullable",
 				"offsetof", "operator", "out", "override", "params", "private", "protected", "public", "readonly", "ref",
-				"rettype", "return", "scope", "sealed", "sizeof", "static", "strideof", "struct", "switch", "this", "true", "try",
+				"rettype", "return", "repeat", "scope", "sealed", "sizeof", "static", "strideof", "struct", "switch", "this", "true", "try",
 				"typealias", "typeof", "unchecked", "using", "var", "virtual", "volatile", "where", "while");
 
 			public static this()