• Richard M. Stallman's avatar
    (scan_lists): Improve smarts for backwards scan of comments. · e5d4f4dc
    Richard M. Stallman authored
    Don't modify comstyle inside that loop.
    If string quotes don't match up, don't take value from OFROM;
    instead, parse forward using scan_sexps_forward.
    (scan_sexps_forward): Return value via a pointer passed in.
    New element in state contains char addr of last comment-starter seen.
    (Fparse_partial_sexp): Change call to scan_sexps_forward.
    e5d4f4dc
syntax.c 36 KB