aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2008-02-19 22:08:55 +0000
committerAlan Mackenzie2008-02-19 22:08:55 +0000
commitc8018ede9b4c5072a4aa5ec9809bb1285af47d6a (patch)
tree09041ecccda0a2c34eb7c0d8d8d1cc85b94dda0d
parent3cb5c13209f5311240f0dffa2e85ce5407716292 (diff)
downloademacs-c8018ede9b4c5072a4aa5ec9809bb1285af47d6a.tar.gz
emacs-c8018ede9b4c5072a4aa5ec9809bb1285af47d6a.zip
Set of changes so that "obtrusive" syntactic elements in a
C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or unmatched paren) don't interact syntactically with stuff outside the CPP line. Comment about text properties amended.
-rw-r--r--lisp/progmodes/cc-engine.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 77b43657050..acc876d576a 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -81,8 +81,9 @@
81;; assume that these text properties are used as described here. 81;; assume that these text properties are used as described here.
82;; 82;;
83;; 'syntax-table 83;; 'syntax-table
84;; Used to modify the syntax of some characters. Currently used to 84;; Used to modify the syntax of some characters. It is used to
85;; mark the "<" and ">" of angle bracket parens with paren syntax. 85;; mark the "<" and ">" of angle bracket parens with paren syntax, and
86;; to "hide" obtrusive characters in preprocessor lines.
86;; 87;;
87;; This property is used on single characters and is therefore 88;; This property is used on single characters and is therefore
88;; always treated as front and rear nonsticky (or start and end open 89;; always treated as front and rear nonsticky (or start and end open