fix build error on case-insensitive filesystems

This commit is contained in:
Irmen de Jong
2025-05-15 21:11:34 +02:00
parent 67231af623
commit f5fc4e345c
2 changed files with 2 additions and 3 deletions
@@ -401,7 +401,7 @@ private fun Assign_targetContext.toAst() : AssignTarget {
AssignTarget(null, arrayindexed, null, null, false, toPosition())
}
is VoidTargetContext -> {
AssignTarget(null, null, null, null, true, voidtarget().toPosition())
AssignTarget(null, null, null, null, true, this.toPosition())
}
else -> throw FatalAstException("weird assign target node $this")
}
+1 -2
View File
@@ -174,10 +174,9 @@ assign_target:
scoped_identifier #IdentifierTarget
| arrayindexed #ArrayindexedTarget
| directmemory #MemoryTarget
| voidtarget #VoidTarget
| VOID #VoidTarget
;
voidtarget : VOID ;
multi_assign_target:
assign_target (',' assign_target)+ ;