Переглянути джерело

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",
 				"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()