Commit 55d150f3 authored by Sam Steingold's avatar Sam Steingold

(c-defun-name): Handle DEFFOO(name,...),

mostly for CLISP modules, but could also be useful elsewhere.
parent af09cfd7
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment