CC Mode: Fix error in cache handling. This fixes bug #43481
* lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Handle correctly END being before HERE by using parse-partial-sexp to get the end of the literal containing HERE.
This commit is contained in:
parent
6442cdc0e4
commit
c9160bda78
1 changed files with 1 additions and 1 deletions
|
@ -3155,7 +3155,7 @@ comment at the start of cc-engine.el for more info."
|
|||
((nth 7 s) 'c++)
|
||||
(t 'c)))
|
||||
(setq start (nth 8 s))
|
||||
(unless end
|
||||
(unless (and end (>= end here))
|
||||
(setq s1 (parse-partial-sexp here (point-max)
|
||||
nil ; TARGETDEPTH
|
||||
nil ; STOPBEFORE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue