mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 01:34:21 +00:00
; Suppress empty-body warnings in cedet/semantic
This commit is contained in:
parent
7c63b632e4
commit
314cbef849
2 changed files with 2 additions and 2 deletions
|
|
@ -1243,7 +1243,7 @@ Finds the header file belonging to NAME, gets the macros
|
|||
from that file, and then merge the macros with our current
|
||||
symbol table."
|
||||
(when semantic-lex-spp-use-headers-flag
|
||||
;; @todo - do this someday, ok?
|
||||
nil ; @todo - do this someday, ok?
|
||||
))
|
||||
|
||||
(defmacro define-lex-spp-include-analyzer (name doc regexp tokidx
|
||||
|
|
|
|||
|
|
@ -1108,7 +1108,7 @@ This can be done by using `semantic-lex-push-token'."
|
|||
(semantic-lex-analysis-bounds (cons (point) (point-max)))
|
||||
(semantic-lex-current-depth 0)
|
||||
(semantic-lex-maximum-depth semantic-lex-depth))
|
||||
(when ,condition ,@forms)
|
||||
(when ,condition nil ,@forms) ; `nil' avoids an empty-body warning.
|
||||
semantic-lex-token-stream))))
|
||||
|
||||
(defmacro define-lex-regex-analyzer (name doc regexp &rest forms)
|
||||
|
|
|
|||
Loading…
Reference in a new issue