• Mattias Engdegård's avatar
    Make ?\LF generate 10, not -1 (bug#55738) · 52e527a0
    Mattias Engdegård authored
    The old -1 value was an artefact of the reader implementation.
    
    * src/lread.c (read_escape): Remove the `stringp` argument; assume
    character literal syntax.  Never return -1.
    (read_string_literal): Handle string-specific escape semantics here
    and simplify.
    * test/src/lread-tests.el (lread-escaped-lf): New test.
    52e527a0
lread-tests.el 12.4 KB