* Fwd: Semantic macro parse problem
[not found] <CAJnfWeHVVN9dTOO7ZJvyMXFntJqrx2+xUvBdOm9BQ8H_2tYJPw@mail.gmail.com>
@ 2014-12-16 7:41 ` Zhongwei Yao
0 siblings, 0 replies; only message in thread
From: Zhongwei Yao @ 2014-12-16 7:41 UTC (permalink / raw)
To: help-gnu-emacs
Hi, all,
I've asked my problem in cedet-devel but not solved. I guess it may be
caused by
*hideif mode. *And emacs 24.3.1 has no such problem. Thanks for any help to
solve this problem!
Following is my problem:
---------- Forwarded message ----------
From: Zhongwei Yao <ashi08104@gmail.com>
Date: Thu, Dec 11, 2014 at 3:19 PM
Subject: Semantic macro parse problem
To: cedet-devel@lists.sourceforge.net
Hi, list,
When semantic parses one file with only following content:
#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
#define TEST_SEMANTICS
#endif
semantic will give following error:
eval: Wrong type argument: number-or-marker-p, "__ORDER_LITTLE_ENDIAN__"
Here is the backtrace:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
"__ORDER_LITTLE_ENDIAN__")
hif-equal("__ORDER_LITTLE_ENDIAN__" 1234)
eval((hif-equal (hif-lookup (quote __BYTE_ORDER__)) (hif-lookup (quote
__ORDER_LITTLE_ENDIAN__))))
semantic-c-do-lex-if()
semantic-c-lexer(1 79 nil nil)
semantic-lex(1 79 nil)
semantic-parse-region-default(1 79 nil nil nil)
semantic-parse-region-c-mode(1 79 nil nil nil)
semantic-parse-region(1 79)
semantic-fetch-tags()
semantic-force-refresh()
call-interactively(semantic-force-refresh nil nil)
command-execute(semantic-force-refresh)
Anyone could help me figure how to solve this problem?
My emacs version is:
GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
And semantic is the stock version in Emacs.
--
Thanks,
Zhongwei
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-16 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAJnfWeHVVN9dTOO7ZJvyMXFntJqrx2+xUvBdOm9BQ8H_2tYJPw@mail.gmail.com>
2014-12-16 7:41 ` Fwd: Semantic macro parse problem Zhongwei Yao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).