diff options
author | Emanuele Torre <torreemanuele6@gmail.com> | 2023-08-04 01:21:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 08:21:25 +0900 |
commit | dcaf701ef66dd0a9c27df49959e4eae9c45c73c4 (patch) | |
tree | 6b9a6b8c29730827b23da6e95cded66acc0b150d /docs | |
parent | d8327a90b86e0e066f2e04e9d5251a34ea4dea04 (diff) |
Simplify String rule in parser (#2805)
Use a StringStart component that is either FORMAT QQSTRING_START or
QQSTRING_START instead of having two similar rules for String.
This is simpler and avoids having to use an untyped mid-rule action
component to copy FORMAT at the top of the stack before QQString, and
having to use jv_free($<literal>3) instead of jv_free($1) just to make
bison not complain about the "unused" mid-rule component.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions