Allow charmap to map 'characters' as well as "strings" (#1830)

This commit is contained in:
Rangi
2025-09-16 06:51:07 -04:00
committed by GitHub
parent 6cffd991f7
commit e0a6199f83
3 changed files with 13 additions and 10 deletions

View File

@@ -1049,6 +1049,9 @@ charmap:
POP_CHARMAP string COMMA charmap_args trailing_comma {
charmap_Add($2, std::move($4));
}
| POP_CHARMAP CHARACTER COMMA charmap_args trailing_comma {
charmap_Add($2, std::move($4));
}
;
charmap_args: