diff options
| author | Alan Mackenzie | 2011-10-28 16:16:02 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2011-10-28 16:16:02 +0000 |
| commit | 52bedd34385bf6434d60d884b306e5883fb656d9 (patch) | |
| tree | eed0fb1454146690e2198722da874e56253baa5e /lisp | |
| parent | 7e43cfa5ecbbd8886a334fe97b1bf3f8ea661e52 (diff) | |
| download | emacs-52bedd34385bf6434d60d884b306e5883fb656d9.tar.gz emacs-52bedd34385bf6434d60d884b306e5883fb656d9.zip | |
Increment c-version to 5.32.2.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 54 | ||||
| -rw-r--r-- | lisp/progmodes/cc-defs.el | 2 |
2 files changed, 26 insertions, 30 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1e0f5d0487a..44f39383139 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,22 +1,25 @@ | |||
| 1 | 2011-10-28 Alan Mackenzie <acm@muc.de> | 1 | 2011-10-28 Alan Mackenzie <acm@muc.de> |
| 2 | 2 | ||
| 3 | * progmodes/cc-defs.el (c-version). -> 5.32.2. | ||
| 4 | |||
| 5 | 2011-10-28 Alan Mackenzie <acm@muc.de> | ||
| 6 | |||
| 3 | Amend the handling of c-beginning/end-of-defun in nested declaration | 7 | Amend the handling of c-beginning/end-of-defun in nested declaration |
| 4 | scopes. | 8 | scopes. |
| 5 | 9 | ||
| 6 | * cc-vars.el (c-defun-tactic): Move here from cc-langs.el. Change it to a | 10 | * progmodes/cc-vars.el (c-defun-tactic): Move here from |
| 7 | defcustom. | 11 | cc-langs.el. Change it to a defcustom. |
| 8 | |||
| 9 | * cc-mode.texi (Movement Commands): Document `c-defun-tactic'. Document | ||
| 10 | the new handling of nested scopes for movement by defuns. | ||
| 11 | 12 | ||
| 12 | * cc-langs.el (c-defun-tactic): Move this variable to cc-vars.el. | 13 | * progmodes/cc-langs.el (c-defun-tactic): Move this variable to |
| 14 | cc-vars.el. | ||
| 13 | (c-nonlabel-token-2-key): New variable for change in cc-engine.el. | 15 | (c-nonlabel-token-2-key): New variable for change in cc-engine.el. |
| 14 | 16 | ||
| 15 | * cc-engine.el (c-beginning-of-statement-1): Prevent "class foo : bar" | 17 | * progmodes/cc-engine.el (c-beginning-of-statement-1): Prevent |
| 16 | being spuriously recognized as a label. | 18 | "class foo : bar" being spuriously recognized as a label. |
| 17 | 19 | ||
| 18 | * cc-cmds.el (c-narrow-to-most-enclosing-decl-block): Add parameter | 20 | * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block): |
| 19 | `inclusive' (to include enclosing braces in the region). | 21 | Add parameter `inclusive' (to include enclosing braces in the |
| 22 | region). | ||
| 20 | (c-widen-to-enclosing-decl-scope): New function. | 23 | (c-widen-to-enclosing-decl-scope): New function. |
| 21 | (c-while-widening-to-decl-block): New macro. | 24 | (c-while-widening-to-decl-block): New macro. |
| 22 | (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going | 25 | (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going |
| @@ -34,39 +37,32 @@ | |||
| 34 | Amend to indent and fontify macros "which include their own semicolon" | 37 | Amend to indent and fontify macros "which include their own semicolon" |
| 35 | correctly, using the "virtual semicolon" mechanism. | 38 | correctly, using the "virtual semicolon" mechanism. |
| 36 | 39 | ||
| 37 | * cc-defs.el: Update "virtual semicolon" comments. | 40 | * progmodes/cc-defs.el: Update "virtual semicolon" comments. |
| 38 | 41 | ||
| 39 | * cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at | 42 | * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Recoded |
| 40 | at time rather than having \n and \r explicitly in c-stmt-delim-chars | 43 | to scan one line at at time rather than having \n and \r |
| 44 | explicitly in c-stmt-delim-chars | ||
| 41 | (for some modes, e.g. AWK). | 45 | (for some modes, e.g. AWK). |
| 42 | (c-forward-label): Amend for virtual semicolons. | 46 | (c-forward-label): Amend for virtual semicolons. |
| 43 | (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions | 47 | (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions |
| 44 | 48 | ||
| 45 | * cc-fonts.el (c-font-lock-declarations): Take account of the new C macros. | 49 | * progmodes/cc-fonts.el (c-font-lock-declarations): Take account |
| 50 | of the new C macros. | ||
| 46 | 51 | ||
| 47 | * cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to | 52 | * progmodes/cc-langs.el (c-at-vsemi-p-fn): |
| 48 | earlier in the file. | 53 | (c-vsemi-status-unknown-p-fn): move to earlier in the file. |
| 49 | (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables. | 54 | (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables. |
| 50 | (c-opt-cpp-macro-define): Make into a full language variable. | 55 | (c-opt-cpp-macro-define): Make into a full language variable. |
| 51 | (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for | 56 | (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for |
| 52 | AWK Mode (including \n, \r) removed, no longer needed. | 57 | AWK Mode (including \n, \r) removed, no longer needed. |
| 53 | 58 | ||
| 54 | * cc-mode.el (c-mode, c++-mode, objc-mode): Invoke | 59 | * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode): Invoke |
| 55 | c-make-macro-with-semi-re. (Erroneously committed early, in previous | 60 | c-make-macro-with-semi-re. |
| 56 | version, 5.259.) | ||
| 57 | 61 | ||
| 58 | * cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New | 62 | * progmodes/cc-vars.el (c-macro-with-semi-re): |
| 59 | variables. | 63 | (c-macro-names-with-semicolon): New variables. |
| 60 | (c-make-macro-with-semi-re): New function | 64 | (c-make-macro-with-semi-re): New function |
| 61 | 65 | ||
| 62 | * cc-mode.texi (Indentation Commands): Mention "macros with semicolons". | ||
| 63 | (Other Special Indentations): Add an xref to "Macros with ;". | ||
| 64 | (Customizing Macros): Add stuff about syntax in macros. Add an xref to | ||
| 65 | "Macros with ;". | ||
| 66 | (Macros with ;): New page. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> | 66 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 71 | 67 | ||
| 72 | * vc/log-edit.el: Fill empty field rather than adding new one. | 68 | * vc/log-edit.el: Fill empty field rather than adding new one. |
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 93da6e3e2be..8632807f2b8 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el | |||
| @@ -93,7 +93,7 @@ | |||
| 93 | 93 | ||
| 94 | ;;; Variables also used at compile time. | 94 | ;;; Variables also used at compile time. |
| 95 | 95 | ||
| 96 | (defconst c-version "5.31.9" | 96 | (defconst c-version "5.32.2" |
| 97 | "CC Mode version number.") | 97 | "CC Mode version number.") |
| 98 | 98 | ||
| 99 | (defconst c-version-sym (intern c-version)) | 99 | (defconst c-version-sym (intern c-version)) |