Alan Mackenzie
536610a433
Amend to indent and fontify macros "which include their own semicolon"
...
correctly, using the "virtual semicolon" mechanism.
cc-defs.el: Update "virtual semicolon" comments.
cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at
at time rather than having \n and \r explicitly in c-stmt-delim-chars
(for some modes, e.g. AWK).
(c-forward-label): Amend for virtual semicolons.
(c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
cc-fonts.el (c-font-lock-declarations): Take account of the new C macros.
cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to
earlier in the file.
(c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
(c-opt-cpp-macro-define): Make into a full language variable.
(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
AWK Mode (including \n, \r) removed, no longer needed.
cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
c-make-macro-with-semi-re.
cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New
variables.
(c-make-macro-with-semi-re): New function
cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
(Other Special Indentations): Add an xref to "Macros with ;".
(Customizing Macros): Add stuff about syntax in macros. Add an xref to
"Macros with ;".
(Macros with ;): New page.
2011-10-27 20:34:23 +00:00
..
2011-10-01 16:32:01 -04:00
2011-10-04 13:26:55 -04:00
2011-10-23 11:38:23 +08:00
2011-10-19 20:26:14 -04:00
2011-10-19 19:40:32 -06:00
2011-10-19 20:26:14 -04:00
2011-10-11 07:41:39 +02:00
2011-10-19 21:16:51 -07:00
2011-10-18 11:02:47 +03:00
2011-09-27 11:15:28 +09:00
2011-10-19 20:26:14 -04:00
2011-09-19 21:56:51 -07:00
2011-10-19 20:26:14 -04:00
2011-06-30 18:52:41 -07:00
2011-07-05 13:38:44 +02:00
2011-09-27 19:46:17 +03:00
2011-09-11 21:07:41 +02:00
2011-10-27 20:34:23 +00:00
2011-10-19 20:26:14 -04:00
2011-10-19 20:26:14 -04:00
2011-10-19 20:26:14 -04:00
2011-10-23 11:38:23 +08:00
2011-10-19 08:54:24 -04:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-03-27 09:56:35 +08:00
2011-05-06 12:59:17 -07:00
2011-09-02 12:38:40 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-03-19 14:49:31 -04:00
2011-10-19 08:54:24 -04:00
2011-10-08 12:37:46 -04:00
2011-09-02 12:38:40 -04:00
2011-07-13 21:40:30 -04:00
2011-09-18 23:43:20 +03:00
2011-07-05 16:44:55 -04:00
2011-05-23 14:57:17 -03:00
2011-10-23 11:38:23 +08:00
2011-05-06 00:20:17 -07:00
2011-07-14 03:09:00 +02:00
2011-03-01 16:18:53 +01:00
2011-09-28 02:59:28 +02:00
2011-09-23 09:30:26 +02:00
2011-10-17 23:52:32 -07:00
2011-09-22 12:15:52 -04:00
2011-10-17 13:14:04 -04:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-06-13 17:42:40 -04:00
2011-10-01 16:32:01 -04:00
2011-06-18 14:49:19 -04:00
2011-10-06 22:17:29 -04:00
2011-08-28 15:05:26 -04:00
2011-10-01 14:27:21 -04:00
2011-07-06 19:45:01 +02:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-10-20 01:35:48 +03:00
2011-10-19 08:54:24 -04:00
2011-04-19 15:44:55 +02:00
2011-09-14 11:06:28 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-07-02 14:27:53 +02:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-04-19 15:44:55 +02:00
2011-05-23 14:57:17 -03:00
2011-10-19 08:54:24 -04:00
2011-07-05 10:21:38 +02:00
2011-10-01 16:32:01 -04:00
2011-04-19 15:44:55 +02:00
2011-04-19 15:44:55 +02:00
2011-04-04 11:35:16 +02:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-04-04 15:16:23 +09:00
2011-08-12 09:49:45 -04:00
2011-10-19 08:54:24 -04:00
2011-08-17 10:31:05 +09:00
2011-10-01 16:32:01 -04:00
2011-08-08 16:11:25 +09:00
2011-04-19 15:44:55 +02:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-10-18 16:31:27 +02:00
2011-10-18 02:17:05 -04:00
2011-04-19 15:44:55 +02:00
2011-10-23 11:38:23 +08:00
2011-06-29 20:03:07 -07:00
2011-03-05 16:56:00 -05:00
2011-04-19 15:44:55 +02:00
2011-04-24 16:32:23 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-17 18:21:48 -04:00
2011-04-19 15:44:55 +02:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-07-03 04:37:52 +02:00
2011-04-19 15:44:55 +02:00
2011-08-05 12:31:21 -04:00
2011-09-07 10:40:27 -04:00
2011-10-19 08:54:24 -04:00
2011-04-04 11:35:16 +02:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-09-11 14:30:07 -04:00
2011-08-08 14:21:32 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-09-16 09:46:42 -04:00
2011-04-19 15:44:55 +02:00
2011-07-02 16:05:38 +02:00
2011-04-19 15:44:55 +02:00
2011-09-22 12:15:52 -04:00
2011-04-19 15:44:55 +02:00
2011-10-11 18:00:42 +03:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-07-15 13:18:53 -04:00
2011-10-17 13:40:27 -04:00
2011-05-10 15:57:12 +02:00
2011-04-19 15:44:55 +02:00
2011-10-01 06:20:53 -04:00
2011-10-19 08:54:24 -04:00
2011-07-11 18:31:09 +02:00
2011-07-07 07:43:48 +09:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-05-06 13:38:02 -03:00
2011-04-19 15:44:55 +02:00
2011-04-19 15:44:55 +02:00
2011-04-05 19:13:16 -07:00
2011-04-02 11:55:47 +03:00
2011-04-19 15:44:55 +02:00
2011-10-01 16:32:01 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-03-26 06:26:30 +08:00
2011-10-19 08:54:24 -04:00
2011-10-17 12:30:02 -04:00
2011-06-21 12:04:28 +02:00
2011-04-19 15:44:55 +02:00
2011-04-22 20:07:16 -07:00
2011-10-19 08:54:24 -04:00
2011-10-22 19:06:13 +02:00
2011-10-14 14:37:53 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-09-18 14:10:01 -04:00
2011-10-01 15:19:17 +02:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-09-20 14:08:04 +00:00
2011-09-29 00:21:06 -07:00
2011-10-01 21:04:01 -04:00
2011-07-04 16:08:02 -04:00
2011-06-15 14:40:00 -04:00
2011-10-14 14:39:16 -04:00
2011-10-03 12:49:56 -04:00
2011-07-14 16:54:32 +02:00
2011-08-24 21:09:18 +03:00
2011-04-19 15:44:55 +02:00
2011-09-19 15:27:30 -04:00
2011-09-20 06:18:55 -04:00
2011-10-19 08:54:24 -04:00
2011-07-14 17:23:08 +02:00
2011-07-09 11:11:57 +08:00
2011-06-08 00:17:26 -07:00
2011-09-19 14:57:55 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-08-26 20:52:47 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-05-28 20:45:00 -04:00
2011-10-19 08:54:24 -04:00
2011-06-29 19:51:27 -07:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-04-19 15:44:55 +02:00
2011-10-01 16:32:01 -04:00
2011-10-19 08:54:24 -04:00
2011-10-06 21:15:19 +02:00
2011-10-19 08:54:24 -04:00
2011-07-13 20:12:05 +02:00
2011-04-19 15:44:55 +02:00
2011-10-20 23:44:20 -07:00
2011-08-21 13:56:19 -04:00
2011-05-23 14:57:17 -03:00
2011-07-07 14:31:57 -04:00
2011-05-23 14:57:17 -03:00
2011-08-08 11:53:35 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-04-19 15:44:55 +02:00
2011-08-20 15:53:00 -07:00
2011-10-19 08:54:24 -04:00
2011-03-11 15:04:22 -05:00
2011-03-11 12:17:33 -05:00
2011-10-19 08:54:24 -04:00
2011-06-29 20:13:35 -07:00
2011-09-09 18:49:00 +03:00
2011-10-19 08:54:24 -04:00
2011-10-19 08:54:24 -04:00
2011-06-20 12:02:31 -04:00
2011-04-19 15:44:55 +02:00
2011-04-19 15:44:55 +02:00
2011-10-21 11:15:32 +02:00
2011-07-14 03:09:00 +02:00
2011-09-18 12:03:48 -04:00
2011-06-20 22:49:12 +02:00
2011-04-19 15:44:55 +02:00
2011-10-19 08:54:24 -04:00