diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-01-10 23:46:07 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-10 23:46:07 -0800 |
commit | fcffdae39e903260e1b23be56fd02bd11c695374 (patch) | |
tree | a8b8e4ff84cfec3fa6fc859dd3928f8f02532814 | |
parent | 76e20618d3aa38d977ca37605634d103c5fb506b (diff) | |
download | txr-fcffdae39e903260e1b23be56fd02bd11c695374.tar.gz txr-fcffdae39e903260e1b23be56fd02bd11c695374.tar.bz2 txr-fcffdae39e903260e1b23be56fd02bd11c695374.zip |
parser: remove unreachable scanner rule.
* parser.l: Remove rule matching double quote in JSON state.
This follows a rule which matches . so is unreachable. The
rule is necessary, but an identical copy of it already appears
earlier.
-rw-r--r-- | parser.l | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1250,11 +1250,6 @@ NJPUNC [^(){},:\[\]"~*^ \t\n] chr(yytext[0]), nao); } -<JSON>\" { - yy_push_state(JLIT, yyscanner); - return yytext[0]; -} - <JMARKER>. { internal_error("scanner processed input JMARKER state"); } |