1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00
emacs/lisp/progmodes
Alan Mackenzie 57ab49f7da Fix irregularities with CC Mode fontification, particularly with "known types"
* lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Introduce a new
optional parameter, template-class.  In "class <X = Y>", fontify "Y" as a
type.
(c-font-lock-single-decl): New variable template-class, set to non-nil when we
have a construct like the above.  Pass this as argument to
c-font-lock-declarators.
(c-font-lock-cut-off-declarators): Check more rigorously that a declaration
being processed starts before the function's starting position.
(c-complex-decl-matchers): Remove the redundant clause which fontified "types
preceded by, e.g., "struct"".

* lisp/progmodes/cc-langs.el (c-template-typename-kwds)
(c-template-typename-key): New lang defconsts and defvar.
2017-10-05 17:16:10 +00:00
..
ada-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ada-prj.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ada-stmt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ada-xref.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
antlr-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
asm-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
autoconf.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bat-mode.el Fix last change in bat-mode.el 2017-09-22 20:41:10 +03:00
bug-reference.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-align.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-awk.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-bytecomp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-cmds.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-defs.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-engine.el Fontify untyped function declarations in C Mode correctly. 2017-10-04 17:34:27 +00:00
cc-fonts.el Fix irregularities with CC Mode fontification, particularly with "known types" 2017-10-05 17:16:10 +00:00
cc-guess.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-langs.el Fix irregularities with CC Mode fontification, particularly with "known types" 2017-10-05 17:16:10 +00:00
cc-menus.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
cc-mode.el Fontify untyped function declarations in C Mode correctly. 2017-10-04 17:34:27 +00:00
cc-styles.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-vars.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cfengine.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cmacexp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
compile.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
cperl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cpp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cwarn.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
dcl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-abn.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-bnf.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-dtd.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-ebx.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-iso.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-otz.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-yac.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf2ps.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebrowse.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
elisp-mode.el Minimal tweak as an attempt to future-proof Flymake API 2017-10-03 14:20:29 +01:00
etags.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
executable.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
f90.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
flymake-proc.el Misc. minor adjustments to Flymake 2017-10-05 03:09:12 +01:00
flymake.el Misc. minor adjustments to Flymake 2017-10-05 03:09:12 +01:00
fortran.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gdb-mi.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
glasses.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
grep.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gud.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
hideif.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
hideshow.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
icon.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-complete-structtag.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-help.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-shell.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-toolbar.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlwave.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
inf-lisp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
js.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ld-script.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
m4-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
make-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mantemp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
meta-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mixal-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
modula2.el
octave.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
opascal.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
pascal.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
perl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
prog-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
project.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
prolog.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ps-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
python.el Give more helpful messages for python completion setup failures 2017-10-02 23:15:43 -04:00
ruby-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
scheme.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
sh-script.el ; Spelling fixes 2017-09-29 16:41:50 -07:00
simula.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
sql.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
subword.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
tcl.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
vera-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
verilog-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
vhdl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
which-func.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
xref.el Reset default-directory inside *xref-grep* buffer 2017-09-26 01:47:23 +03:00
xscheme.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00