Semantic macro parse problem

Zhongwei Yao <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <CAJnfWeHVVN9dTOO7ZJvyMXFntJqrx2+xUvBdOm9BQ8H_2tYJPw@mail.gmail.com>
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

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.