From: Zhongwei Yao <ashi08104@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Fwd: Semantic macro parse problem
Date: Tue, 16 Dec 2014 15:41:14 +0800 [thread overview]
Message-ID: <CAJnfWeGQB7z+=eF=96imMUtrvDZP7b6o8GojA4ViCKJd+VcVJA@mail.gmail.com> (raw)
In-Reply-To: <CAJnfWeHVVN9dTOO7ZJvyMXFntJqrx2+xUvBdOm9BQ8H_2tYJPw@mail.gmail.com>
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
parent reply other threads:[~2014-12-16 7:41 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAJnfWeHVVN9dTOO7ZJvyMXFntJqrx2+xUvBdOm9BQ8H_2tYJPw@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJnfWeGQB7z+=eF=96imMUtrvDZP7b6o8GojA4ViCKJd+VcVJA@mail.gmail.com' \
--to=ashi08104@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.