diff options
author | Alan Mackenzie <acm@muc.de> | 2013-01-09 21:33:00 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2013-01-09 21:33:00 +0000 |
commit | 8cff5febae4e032c8b78f9013f23989af18db269 (patch) | |
tree | cba85c21c3ab3f0f14767ff4e5586a72af0c7197 /lisp/emacs-lisp/re-builder.el | |
parent | 45a7e57ca337302437d330fca177af10df08c43f (diff) | |
download | emacs-8cff5febae4e032c8b78f9013f23989af18db269.tar.gz emacs-8cff5febae4e032c8b78f9013f23989af18db269.tar.bz2 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/emacs-lisp/re-builder.el')
0 files changed, 0 insertions, 0 deletions