projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6442cdc
)
CC Mode: Fix error in cache handling. This fixes bug #43481
author
Alan Mackenzie
<acm@muc.de>
Thu, 26 Nov 2020 11:37:38 +0000
(11:37 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Thu, 26 Nov 2020 11:37:38 +0000
(11:37 +0000)
* 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.
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index babe6e7476082adc333fe10a808b919ce0b36d4b..01ab253ceba9be8e3266749aef3cbea24500474c 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-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