comparison lisp/progmodes/cc-engine.el @ 111882:2f32e957c8ff

(c-forward-type): Before scanning a template arglist, check that the current language supports this.
author Alan Mackenzie <acm@muc.de>
date Sun, 12 Dec 2010 12:24:56 +0000
parents fb9b207b7488
children 417b1e4d63cd
comparison
equal deleted inserted replaced
111881:66cacb91ed45 111882:2f32e957c8ff
5844 ;; This function records identifier ranges on 5844 ;; This function records identifier ranges on
5845 ;; `c-record-type-identifiers' and `c-record-ref-identifiers' if 5845 ;; `c-record-type-identifiers' and `c-record-ref-identifiers' if
5846 ;; `c-record-type-identifiers' is non-nil. 5846 ;; `c-record-type-identifiers' is non-nil.
5847 ;; 5847 ;;
5848 ;; This function might do hidden buffer changes. 5848 ;; This function might do hidden buffer changes.
5849 (when (looking-at "<") 5849 (when (and c-recognize-<>-arglists
5850 (looking-at "<"))
5850 (c-forward-<>-arglist t) 5851 (c-forward-<>-arglist t)
5851 (c-forward-syntactic-ws)) 5852 (c-forward-syntactic-ws))
5852 5853
5853 (let ((start (point)) pos res name-res id-start id-end id-range) 5854 (let ((start (point)) pos res name-res id-start id-end id-range)
5854 5855