On Tue Mar 26 04:36:26 2024 +0000, Francisco Casas wrote:
changed this line in [version 3 of the diff](/wine/vkd3d/-/merge_requests/739/diffs?diff_id=107171&start_sha=f81152537041ebb341d645ee531fefb6cdc61f48#9155b9453b4ec8ea0b9b025dfb55c061bd931610_6733_6779)
I added a test, good catch.
You could probably avoid the duplication with a separate "%empty | [int]" rule. Or alternatively use "arrays" and add an explicit check for count > 1.
I added the state_block_index_opt rule.