Skip to content

Commit 9a98c3f

Browse files
authored
Slightly more lenient set of keywords (#2495)
1 parent c1b2fc6 commit 9a98c3f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • engine/baml-lib/baml-core/src/validate/validation_pipeline/validations

‎engine/baml-lib/baml-core/src/validate/validation_pipeline/validations/reserved_names.rs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ pub fn baml_keywords() -> &'static HashSet<&'static str> {
3737
"video",
3838
"pdf",
3939
// keywords from other languages
40-
"abstract",
41-
"alignas",
42-
"alignof",
4340
"and",
4441
"and_eq",
4542
"any",
@@ -52,7 +49,6 @@ pub fn baml_keywords() -> &'static HashSet<&'static str> {
5249
"box",
5350
"break",
5451
"byte",
55-
"case",
5652
"catch",
5753
"chan",
5854
"char",
@@ -108,7 +104,6 @@ pub fn baml_keywords() -> &'static HashSet<&'static str> {
108104
"lock",
109105
"long",
110106
"macro",
111-
"match",
112107
"module",
113108
"move",
114109
"mut",

0 commit comments

Comments
 (0)