1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00
emacs/lisp/progmodes
Alan Mackenzie 13d49cbb26 Large brace-block initialisation makes CC Mode slow: Fix.
Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
routines.  Limit backward searching in c-font-lock-enclosing.decl.

cc-engine.el (c-state-pp-to-literal): Return the pp-state and literal
type in addition to the limits.
(c-state-safe-place): New defun, extracted from c-state-literal-at.
(c-state-literal-at): Use the above new defun.
(c-slow-in-literal, c-fast-in-literal): Removed.
(c-in-literal, c-literal-limits): Amended to use c-state-pp-to-literal.

cc-fonts.el (c-font-lock-enclosing-decls): Check for being in a literal.
Add a limit for backward searching.

cc-mode.el (awk-mode): Don't alias c-in-literal to c-slow-in-literal.
2011-12-13 18:47:08 +00:00
..
2011-12-11 21:32:49 -08:00
2011-12-11 21:32:49 -08:00
2011-10-19 20:26:14 -04:00
2011-12-11 21:32:49 -08:00
2011-12-11 21:32:49 -08:00
2011-12-05 00:55:25 -08:00
2011-12-11 21:32:49 -08:00
2011-11-19 18:29:42 -08:00
2011-12-06 02:30:54 +01:00
2011-11-20 04:48:53 +01:00
2011-11-26 20:43:11 -08:00
2011-11-20 04:48:53 +01:00
2011-12-04 00:02:42 -08:00
2011-11-08 14:19:36 -05:00
2011-11-18 00:31:02 -08:00
2011-11-20 04:48:53 +01:00
2011-11-19 18:29:42 -08:00
2011-11-26 20:43:11 -08:00
2011-11-26 20:43:11 -08:00
2011-12-11 21:32:49 -08:00
2011-12-11 21:32:49 -08:00
2011-12-11 21:32:49 -08:00
2011-11-22 23:03:56 -08:00
2011-11-19 18:29:42 -08:00
2011-11-26 20:43:11 -08:00
2011-12-04 00:02:42 -08:00
2011-12-11 21:32:49 -08:00
2011-12-04 00:02:42 -08:00
2011-11-17 01:09:20 -08:00
2011-11-14 23:55:13 -08:00
2011-11-12 23:48:23 -08:00
2011-10-04 22:28:55 -07:00
2011-11-19 01:18:31 -08:00
2011-11-20 20:35:27 +01:00
2011-11-26 20:43:11 -08:00
2011-10-19 20:26:14 -04:00
2011-11-16 13:34:47 +01:00
2011-12-11 21:32:49 -08:00
2011-10-19 20:26:14 -04:00