diff options
author | Rory Dudley | 2024-02-28 22:49:37 -0700 |
---|---|---|
committer | Rory Dudley | 2024-02-28 22:49:37 -0700 |
commit | e03f1cff8886be20f6c765a01c0ebd7d93a9663a (patch) | |
tree | fa7976b5b3fc09251a40d1450505d55d17ded4fd /src/poem/elements/word.rs | |
parent | b8db4a0cda9eb080c9e89c635be4c9abfc9f88d6 (diff) | |
download | dwarvish-e03f1cff8886be20f6c765a01c0ebd7d93a9663a.tar.gz |
Parser comments and error checking
Added an index to keep track of what position each char is at in the
loop. Added a more verbose error message, which prints out the column
that the parse error was detected, as well as the glyph that threw the
error. Added more comments to the '&', whitespace, and char match
statements. Changed parser behavior, so that a ';' glyph without a
stanza does not cause a parser error.
Diffstat (limited to 'src/poem/elements/word.rs')
0 files changed, 0 insertions, 0 deletions