diff options
| author | Alan Mackenzie | 2013-01-09 21:33:00 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2013-01-09 21:33:00 +0000 |
| commit | 8cff5febae4e032c8b78f9013f23989af18db269 (patch) | |
| tree | cba85c21c3ab3f0f14767ff4e5586a72af0c7197 /lisp/ChangeLog | |
| parent | 45a7e57ca337302437d330fca177af10df08c43f (diff) | |
| download | emacs-8cff5febae4e032c8b78f9013f23989af18db269.tar.gz emacs-8cff5febae4e032c8b78f9013f23989af18db269.zip | |
Fix bugs in the c-parse-state mechanism. Reuse some markers instead of
continually generating new ones.
cc-engine.el (c-state-old-cpp-beg-marker, c-state-old-cpp-end-marker):
New variables.
(c-append-lower-brace-pair-to-state-cache): Start a backward search for
"}" definitively outside CPP constructs.
(c-remove-stale-state-cache): Inform the caller of a need to search back
for a brace pair in certain circumstances.
(c-state-maybe-marker): New macro.
(c-parse-state): Reuse markers when appropriate.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1d3c92c4468..778fe3dedd6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2013-01-09 Alan Mackenzie <acm@muc.de> | ||
| 2 | |||
| 3 | Fix bugs in the c-parse-state mechanism. Reuse some markers | ||
| 4 | instead of continually generating new ones. | ||
| 5 | |||
| 6 | * progmodes/cc-engine.el (c-state-old-cpp-beg-marker) | ||
| 7 | (c-state-old-cpp-end-marker): New variables. | ||
| 8 | (c-append-lower-brace-pair-to-state-cache): Start a backward | ||
| 9 | search for "}" definitively outside CPP constructs. | ||
| 10 | (c-remove-stale-state-cache): Inform the caller of a need to | ||
| 11 | search back for a brace pair in certain circumstances. | ||
| 12 | (c-state-maybe-marker): New macro. | ||
| 13 | (c-parse-state): Reuse markers when appropriate. | ||
| 14 | |||
| 1 | 2013-01-09 Glenn Morris <rgm@gnu.org> | 15 | 2013-01-09 Glenn Morris <rgm@gnu.org> |
| 2 | 16 | ||
| 3 | * simple.el (execute-extended-command): Doc fix. | 17 | * simple.el (execute-extended-command): Doc fix. |