Commit dcfcc595 authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

* lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Fix coding bug

parent 96a80239
......@@ -4516,11 +4516,12 @@ comment at the start of cc-engine.el for more info."
((not (memq noerror '(before-literal after-literal)))
(goto-char bound))
(t (setq state (parse-partial-sexp state-pos bound nil nil state))
(when (or (elt state 3) (elt state 4))
(if (eq noerror 'before-literal)
(goto-char (elt state 8))
(parse-partial-sexp bound (point-max) nil nil
state 'syntax-table)))))
(if (or (elt state 3) (elt state 4))
(if (eq noerror 'before-literal)
(goto-char (elt state 8))
(parse-partial-sexp bound (point-max) nil nil
state 'syntax-table))
(goto-char bound))))
nil)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment