Variable: c-asymmetry-fontification-flag

c-asymmetry-fontification-flag is a customizable variable defined in cc-vars.el.gz.

Value

t

Documentation

Whether to fontify certain ambiguous constructs by white space asymmetry.

In the fontification engine, it is sometimes impossible to determine whether a construct is a declaration or an expression. This happens particularly in C++, due to ambiguities in the language. When such a construct is like "foo * bar" or "foo &bar", and this variable is non-nil
(the default), the construct will be fontified as a declaration if there is
white space either before or after the operator, but not both.

This variable was added, or its default value changed, in Emacs 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defcustom c-asymmetry-fontification-flag t
  "Whether to fontify certain ambiguous constructs by white space asymmetry.

In the fontification engine, it is sometimes impossible to determine
whether a construct is a declaration or an expression.  This happens
particularly in C++, due to ambiguities in the language.  When such a
construct is like \"foo * bar\" or \"foo &bar\", and this variable is non-nil
\(the default), the construct will be fontified as a declaration if there is
white space either before or after the operator, but not both."
  :version "26.1"
  :type 'boolean
  :group 'c)