summaryrefslogtreecommitdiffstats
path: root/src/recite/parse.rs
diff options
context:
space:
mode:
authorRory Dudley2024-02-28 22:49:37 -0700
committerRory Dudley2024-02-28 22:49:37 -0700
commite03f1cff8886be20f6c765a01c0ebd7d93a9663a (patch)
treefa7976b5b3fc09251a40d1450505d55d17ded4fd /src/recite/parse.rs
parentb8db4a0cda9eb080c9e89c635be4c9abfc9f88d6 (diff)
downloaddwarvish-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/recite/parse.rs')
0 files changed, 0 insertions, 0 deletions