diff options
author | Rory Dudley | 2024-02-28 22:00:26 -0700 |
---|---|---|
committer | Rory Dudley | 2024-02-28 22:00:26 -0700 |
commit | b8db4a0cda9eb080c9e89c635be4c9abfc9f88d6 (patch) | |
tree | 06337724ea2f7d056b5e6aa676579bf37a99b62a /LICENSE | |
parent | 2d2d5af3553b732237937549dc9b6df28b7c00cb (diff) | |
download | dwarvish-b8db4a0cda9eb080c9e89c635be4c9abfc9f88d6.tar.gz |
Refactor status variables in Poem::read()
Moved the 'couplet' and 'metered' variables into functions impl'd for
Verse. This cuts down on the boilerplate in the parsing loop, and also
makes it so that their match statements are only ran when needed, rather
than being called at every iteration of the loop.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions