Skip to content
Discussion options

You must be logged in to vote

@MucTepDayH16

ident = @{ &ASCII_ALPHA ~ (ASCII_ALPHA | ASCII_DIGIT | "_")+ }
integer = @{ ASCII_NONZERO_DIGIT ~ ASCII_DIGIT* | "0" }

ident_index = { ident ~ "[" ~ (ident | integer) ~ "]" }
value = { ident_index | ident }

diff

ident_index = { ident ~ "[" ~ (ident | integer) ~ "]" }

ident_index = { ident ~ "[" ~ integer ~ "]" }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tomtau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #893 on August 04, 2025 13:30.