From c8018ede9b4c5072a4aa5ec9809bb1285af47d6a Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Tue, 19 Feb 2008 22:08:55 +0000 Subject: [PATCH] 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. --- lisp/progmodes/cc-engine.el | 5 +++-- 1 file 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 @@ ;; 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 -- 2.39.5