simon-git: bob (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu May 27 07:16:31 BST 2021


TL;DR:
  c4e6836 Make quoted-string parse error handling more robust.

Repository:     https://git.tartarus.org/simon/bob.git
On the web:     https://git.tartarus.org/?p=simon/bob.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2021-05-27 07:16:31

commit c4e6836339c0e6f22cdd47cbe313b1487ca621f6
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=c4e6836339c0e6f22cdd47cbe313b1487ca621f6;hp=593751cb103840677a1242e62903175088c2f71d
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu May 27 07:15:19 2021 +0100

    Make quoted-string parse error handling more robust.
    
    An unterminated quoted string could lead the parser to try to test
    s[0]=='"' in a string s that was empty. Now we look for s[:1] instead,
    which will produce the failure behaviour I wanted (i.e. return False).

 parse.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list