summaryrefslogtreecommitdiff
path: root/syntax-highlight/xml.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-10-19 09:10:54 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-10-19 09:10:54 -0400
commit668892ebbcdcfa92a57a62e737f567a23d707aa0 (patch)
treee6fd6dc046ec69988385b98cd6f8328b0a14ccfe /syntax-highlight/xml.scm
parentf9dae95bd0f1434aa56fd8de259325b9742e28e2 (diff)
parsers: Fix variable shadowing issue.
'parse-either' and 'parse-both' shadowed the 'stream' variable, causing failure cases to sometimes return the wrong stream. That is, a stream that has consumed input characters, not the original stream. * syntax-highlight/parsers.scm (parse-either, parse-both): Use 'remainder' variable for leftover stream variables rather than shadowing 'stream'.
Diffstat (limited to 'syntax-highlight/xml.scm')
0 files changed, 0 insertions, 0 deletions