Browse Source

Add `repeat` to list of reserved names

Rune 2 months ago
parent
commit
4639e4f6d7
1 changed files with 1 additions and 1 deletions
  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()