Jelajahi Sumber

Add `repeat` to list of reserved names

Rune 2 minggu lalu
induk
melakukan
4639e4f6d7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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()