aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2008-02-19 21:59:11 +0000
committerAlan Mackenzie2008-02-19 21:59:11 +0000
commitbc99e713cd4639795fecef3833ca2ad125fadc2b (patch)
treec88e0472af356a0ed3c5a5425e20992a72d1459c
parent837584c7023fb6880897d77420738b586196699b (diff)
downloademacs-bc99e713cd4639795fecef3833ca2ad125fadc2b.tar.gz
emacs-bc99e713cd4639795fecef3833ca2ad125fadc2b.zip
*** empty log message ***
-rw-r--r--lisp/ChangeLog43
1 files changed, 43 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a6d46dc5434..739f6f919cc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,46 @@
12008-02-19 Alan Mackenzie <acm@muc.de>
2
3 Set of changes so that "obtrusive" syntactic elements in a
4 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
5 unmatched paren) don't interact syntactically with stuff outside
6 the CPP line.
7
8 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
9 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
10 off-by-one bug.
11 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
12 a bit of refactoring.
13 (c-awk-extend-and-syntax-tablify-region): Takes some of the
14 functionality of c-awk-advise-fl-for-awk-region, which has been
15 refactored away.
16
17 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
18 (c-clear-char-property-with-value): New function and macro which
19 remove text-properties `equal' to a supplied value.
20
21 * progmodes/cc-engine.el: Comment about text properties amended.
22
23 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
24 parens around "error\\|warning".
25
26 * progmodes/cc-langs.el (c-get-state-before-change-function)
27 (c-before-font-lock-function, c-anchored-cpp-prefix): new language
28 variables.
29 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
30
31 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
32 syntax-table text properties.
33 (c-common-init): Call language specific before/after-change
34 functions at mode initialisation.
35 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): new variables.
36 (c-extend-region-for-CPP, c-neutralize-CPP-line)
37 (c-neutralize-syntax-in-CPP): new functions.
38 (c-before-change, c-after-change): call the new language specific
39 change functions defined in cc-langs.el.
40 (c-advise-fl-for-region): new macro.
41 (awk-mode): Remove AWK specific stuff which has been refactored
42 into language independent stuff.
43
12008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> 442008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2 45
3 * diff-mode.el (diff-file-junk-re): New const. 46 * diff-mode.el (diff-file-junk-re): New const.