浏览代码

Add `repeat` to list of reserved names

Rune 2 月之前
父节点
当前提交
4639e4f6d7
共有 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",
 				"delete", "do", "else", "enum", "explicit", "extension", "extern", "false", "finally", "fixed", "for", "function",
 				"if", "implicit", "in", "interface", "internal", "is", "isconst", "mixin", "namespace", "new", "null", "nullable",
 				"if", "implicit", "in", "interface", "internal", "is", "isconst", "mixin", "namespace", "new", "null", "nullable",
 				"offsetof", "operator", "out", "override", "params", "private", "protected", "public", "readonly", "ref",
 				"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");
 				"typealias", "typeof", "unchecked", "using", "var", "virtual", "volatile", "where", "while");
 
 
 			public static this()
 			public static this()