diff options
author | Alan Mackenzie <acm@muc.de> | 2016-12-29 15:34:36 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-12-29 15:34:36 +0000 |
commit | 11b81a54d538e8deca3cd64521cf85409efb617b (patch) | |
tree | 566d97547ea1057db231857c9f4a1cebbb34f032 /lisp/calc/calc-mode.el | |
parent | 0d19e69184cd3068279677fb04aa9fb2da6895e4 (diff) | |
download | emacs-11b81a54d538e8deca3cd64521cf85409efb617b.tar.gz emacs-11b81a54d538e8deca3cd64521cf85409efb617b.tar.bz2 emacs-11b81a54d538e8deca3cd64521cf85409efb617b.zip |
Partially correct fontification of "(b*3)", and the like, in C++ Mode
This problem is caused by the fundamental ambiguity in C++ between
argument declarations and initialisation clauses.
* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): If we have an open
paren preceded by an arithmetic operator, we give this the context nil, not
'arglist.
* lisp/progmodes/cc-langs.el (c-arithmetic-operators, c-arithmetic-op-regexp):
New lang consts and vars.
Diffstat (limited to 'lisp/calc/calc-mode.el')
0 files changed, 0 insertions, 0 deletions