Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sexp lexer for escaped sequences such \000 followed by another digit #6710

Merged
merged 2 commits into from
Dec 15, 2022

Commits on Dec 15, 2022

  1. test(sexp): Test the escaped-sequence parser in strings

    Signed-off-by: Samuel Hym <samuel.hym@rustyne.lautre.net>
    shym authored and rgrinberg committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    b880148 View commit details
    Browse the repository at this point in the history
  2. fix(sexp): Accept another digit after an \x.. or \... escape sequence…

    … in strings
    
    The two cases that this modifies are meant to catch the issue of
    "unterminated ... escape sequences" but, due to the use of '*', they
    also caught the cases where the escape sequence was followed by another
    digit
    
    Signed-off-by: Samuel Hym <samuel.hym@rustyne.lautre.net>
    shym authored and rgrinberg committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    a570b56 View commit details
    Browse the repository at this point in the history