Mercurial > emacs
changeset 80157:e67a400370f5
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.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Tue, 19 Feb 2008 22:08:55 +0000 |
parents | fa9371f081be |
children | 4c9d1aa65d34 |
files | lisp/progmodes/cc-engine.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cc-engine.el Tue Feb 19 22:07:33 2008 +0000 +++ b/lisp/progmodes/cc-engine.el Tue Feb 19 22:08:55 2008 +0000 @@ -81,8 +81,9 @@ ;; assume that these text properties are used as described here. ;; ;; 'syntax-table -;; Used to modify the syntax of some characters. Currently used to -;; mark the "<" and ">" of angle bracket parens with paren syntax. +;; Used to modify the syntax of some characters. It is used to +;; mark the "<" and ">" of angle bracket parens with paren syntax, and +;; to "hide" obtrusive characters in preprocessor lines. ;; ;; This property is used on single characters and is therefore ;; always treated as front and rear nonsticky (or start and end open