Removed fn from keywords

This commit is contained in:
2026-06-25 22:24:25 +02:00
parent 33430f9541
commit a63199a41d
+2 -2
View File
@@ -20,9 +20,9 @@ use crate::transpiler::{TranspileError, transpile_mist, transpile_mist_no_sem};
static MARKER_COUNTER: AtomicU64 = AtomicU64::new(0); static MARKER_COUNTER: AtomicU64 = AtomicU64::new(0);
const KEYWORDS: [&'static str; 25] = [ const KEYWORDS: [&'static str; 24] = [
"if", "else", "for", "while", "match", "return", "break", "continue", "struct", "enum", "if", "else", "for", "while", "match", "return", "break", "continue", "struct", "enum",
"class", "trait", "impl", "pub", "mut", "let", "true", "false", "dyn", "loop", "fn", "unsafe", "class", "trait", "impl", "pub", "mut", "let", "true", "false", "dyn", "loop", "unsafe",
"override", "module", "void", "override", "module", "void",
]; ];