HomePhorge

(#15920) Make forward-sexp ignore comments in puppet-mode.el
c8152d428840Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#15920) Make forward-sexp ignore comments in puppet-mode.el

Enables parse-sexp-ignore-comments.

Previously forward-sexp was broken by comments with unterminated
strings. E.g. with the following manifest:

foo {
  # won'
}

forward-sexp on the opening brace would get:

forward-sexp: Scan error: “Unbalanced parentheses”

The problem got introduced in commit
1c02749e8b54616043f728ed18ddec1dc4353a2d (Committed patch from #1160).

Details

Provenance
Gleb Arshinov <gleb@barsook.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4c91b6589cc0: Merge pull request #1016 from pcarlisle/maint/2.7.x/mocha12
Branches
Unknown
Tags
Unknown

Event Timeline

Gleb Arshinov <gleb@barsook.com> committed rPUc8152d428840: (#15920) Make forward-sexp ignore comments in puppet-mode.el (authored by Gleb Arshinov <gleb@barsook.com>).Aug 12 2012, 2:58 AM