Fix string not usable for targetname

This commit is contained in:
smallmodel 2024-11-16 18:17:19 +01:00
parent 857d25825b
commit a0b80a9096
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -295,7 +295,7 @@ identifier
;
listener_identifier
: identifier_prim { $$ = node_listener($1, TOKPOS(@1)); }
: identifier { $$ = node_listener($1, TOKPOS(@1)); }
| TOKEN_LEFT_BRACKET expr TOKEN_RIGHT_BRACKET { $$ = $2; }
;