fix reserved casing
This commit is contained in:
parent
5f6ee27795
commit
7a4ea253a9
1 changed files with 1 additions and 1 deletions
|
|
@ -1591,7 +1591,7 @@ func countUnderscores(p []d2ast.String) int {
|
|||
|
||||
func findBoardKeyword(ida ...d2ast.String) int {
|
||||
for i := range ida {
|
||||
if _, ok := d2ast.BoardKeywords[ida[i].ScalarString()]; ok && ida[i].IsUnquoted() {
|
||||
if _, ok := d2ast.BoardKeywords[strings.ToLower(ida[i].ScalarString())]; ok && ida[i].IsUnquoted() {
|
||||
return i
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue