• Stefan Monnier's avatar
    * lisp/progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case. · 5e799349
    Stefan Monnier authored
    (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
    (perl-continuation-line-p): Don't skip over anything else than labels.
    Return the previous char.
    (perl-calculate-indent): Use syntax-ppss instead of parse-start
    and update callers accordingly.  For continuation lines, check the
    the case of array hashes.
    (perl-backward-to-noncomment): Make it non-interactive.
    (perl-backward-to-start-of-continued-exp): Rewrite.
    * test/indent/perl.perl: Add indentation pattern for hash-table entries.
    5e799349
ChangeLog 642 KB