projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d6b860
)
CC Mode. Fix an off by one error. Fixes bug #41809
author
Alan Mackenzie
<acm@muc.de>
Thu, 25 Jun 2020 17:07:16 +0000
(17:07 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Thu, 25 Jun 2020 17:07:16 +0000
(17:07 +0000)
* lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Change > to >= (twice).
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index 8c8296fd6da2bb2d2a3b2903a8d1bde352690e28..888184d2b4631d4ac8e29e3628375728337c75eb 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-3137,7
+3137,7
@@
comment at the start of cc-engine.el for more info."
(not base) ; FIXME!!! Compare base and far-base??
; (2019-05-21)
(not end)
- (> here end))
+ (>
=
here end))
(progn
(setq far-base-and-state (c-parse-ps-state-below here)
far-base (car far-base-and-state)
@@
-3150,7
+3150,7
@@
comment at the start of cc-engine.el for more info."
(or
(and (> here base) (null end))
(null (nth 8 s))
- (and end (> here end))
+ (and end (>
=
here end))
(not
(or
(and (nth 3 s) ; string