mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
(c-defun-name): Handle DEFFOO(name,...),
mostly for CLISP modules, but could also be useful elsewhere.
This commit is contained in:
parent
af09cfd7a9
commit
55d150f329
@ -1,3 +1,8 @@
|
||||
2008-12-15 Sam Steingold <sds@gnu.org>
|
||||
|
||||
* progmodes/cc-cmds.el (c-defun-name): Handle DEFFOO(name,...),
|
||||
mostly for CLISP modules, but could also be useful elsewhere.
|
||||
|
||||
2008-12-15 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* face-remap.el (text-scale-mode-step, buffer-face-mode-face):
|
||||
|
@ -1732,6 +1732,11 @@ with a brace block."
|
||||
(c-backward-syntactic-ws)
|
||||
(point))))
|
||||
|
||||
((looking-at "DEF[a-zA-Z0-9_]* *( *\\([^, ]*\\) *,")
|
||||
;; DEFCHECKER(sysconf_arg,prefix=_SC,default=, ...) ==> sysconf_arg
|
||||
;; DEFFLAGSET(syslog_opt_flags,LOG_PID ...) ==> syslog_opt_flags
|
||||
(match-string-no-properties 1))
|
||||
|
||||
(t
|
||||
;; Normal function or initializer.
|
||||
(when (c-syntactic-re-search-forward "[{(]" nil t)
|
||||
|
Loading…
Reference in New Issue
Block a user