1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 03:52:16 -08:00
emacs/lisp/progmodes
Alan Mackenzie 0e09d00f29 Fontify C++ for loop variable as variable, even when followed by parentheses
In the following: "for (auto *Friend : Class->friends()) {", "Friend" was
getting fontified as a function, due to insufficient checking of the tokens
between it and "()".

* lisp/progmodes/cc-langs.el (c-:-op-cont-tokens, c-:-op-cont-regexp): New
lang-consts/vars.

* lisp/progmodes/cc-engine.el (c-forward-declarator): After finding a putative
declarator's identifier, check for a ":" token inside a for's parentheses, and
abort the search for "(" if this is found.
2017-05-12 21:11:49 +00:00
..
ada-mode.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
ada-prj.el
ada-stmt.el
ada-xref.el
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el
cc-awk.el
cc-bytecomp.el
cc-cmds.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
cc-defs.el CC Mode internal cache: Handle a cache pos being inside a two-char construct. 2017-05-07 09:27:00 +00:00
cc-engine.el Fontify C++ for loop variable as variable, even when followed by parentheses 2017-05-12 21:11:49 +00:00
cc-fonts.el Fix fontification of C++ declaration with type FOO::FOO. 2017-04-22 14:45:24 +00:00
cc-guess.el
cc-langs.el Fontify C++ for loop variable as variable, even when followed by parentheses 2017-05-12 21:11:49 +00:00
cc-menus.el
cc-mode.el Fix C++ fontification problems 500 bytes after typing a space, and other bugs 2017-03-30 20:24:39 +00:00
cc-styles.el
cc-vars.el Fix C++ fontification problems 500 bytes after typing a space, and other bugs 2017-03-30 20:24:39 +00:00
cfengine.el
cmacexp.el
compile.el Merge from origin/emacs-25 2017-03-19 12:24:51 -07:00
cperl-mode.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
cpp.el
cwarn.el
dcl-mode.el
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el
ebrowse.el
elisp-mode.el
etags.el
executable.el
f90.el
flymake.el Merge from origin/emacs-25 2017-03-19 12:29:06 -07:00
fortran.el
gdb-mi.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
glasses.el
grep.el
gud.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
hideif.el
hideshow.el
icon.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
idlw-toolbar.el
idlwave.el
inf-lisp.el
js.el Handle indentation of nested ternary operators in JS 2017-04-13 03:50:41 +03:00
ld-script.el
m4-mode.el
make-mode.el
mantemp.el
meta-mode.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
mixal-mode.el
modula2.el
octave.el
opascal.el
pascal.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
perl-mode.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
prog-mode.el
project.el
prolog.el
ps-mode.el
python.el Protect against an infloop in python-mode 2017-03-23 23:05:19 +01:00
ruby-mode.el
scheme.el
sh-script.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
simula.el
sql.el Merge from origin/emacs-25 2017-03-19 12:27:55 -07:00
subword.el
tcl.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
vera-mode.el
verilog-mode.el Fix various verilog-mode.el issues. 2017-05-08 13:44:47 -04:00
vhdl-mode.el
which-func.el
xref.el ; xref-collect-matches: Add a TODO 2017-05-04 18:27:15 +03:00
xscheme.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00