Fun with nested macros. I have a fix for this case in CVS now, but it
may break some other cases. Be on the lookout for goofy behavior
surrounding particularly complex macros.
Eric
>>> Nathan Huesken <cedet@...> seems to think that:
>I believe, I found the file with the error.
>If I open /usr/include/bfd.h (http://lonely-star.org/bfd.h), and type M-x bovinate, I get the error:
>
>semantic-lex: Wrong type argument: integer-or-marker-p, nil
>
>The problem is on line 1045:
>#define bfd_put_signed_8 \
> bfd_put_8
>
>But more I do not know ...
>
>Greetings,
>Nathan
>
>On Wed, Apr 30, 2008 at 04:52:11PM +0200, Nathan Huesken wrote:
>> cvs status gives me:
>>
>> ===================================================================
>> File: semantic-c.el Status: Up-to-date
>>
>> Working revision: 1.78
>> Repository revision: 1.78 /cvsroot/cedet/cedet/semantic/bovine/semantic-c.el,v
>> Sticky Tag: (none)
>> Sticky Date: (none)
>> Sticky Options: (none)
>>
>> So the version should be correct ...
>>
>> On Wed, Apr 30, 2008 at 09:38:21AM -0400, Eric M. Ludlam wrote:
>> > That's the same error I fixed. Do you have semantic-c.el CVS version
>> > 1.78?
>> >
>> > Eric
>> >
>> > >>> Nathan Huesken <cedet@...> seems to think that:
>> > >Hi Eric,
>> > >
>> > >Thank you, unfortantly it still fails on my system.
>> > >It parses a few files and exits with the error below.
>> > >Can I somehow find out which file it is unable ot parse?
>> > >
>> > >Greetings,
>> > >Nathan
>> > >
>> > >Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>> > > semantic-c-lexer(36985 36998 0 0)
>> > > semantic-lex(36985 36998 0 0)
>> > > semantic-lex-spp-one-token-and-move-for-macro(36998)
>> > > semantic-lex-spp-stream-for-macro(36998)
>> > > semantic-c-lexer(1 181377 nil nil)
>> > > semantic-lex(1 181377 nil)
>> > > semantic-parse-region-default(1 181377 nil nil nil)
>> > > semantic-parse-region-c-mode(1 181377 nil nil nil)
>> > > semantic-parse-region(1 181377)
>> > > semantic-fetch-tags()
>> > > semanticdb-project-database-system(semanticdb-project-database-system-c "/usr/include/")
>> > > apply(semanticdb-project-database-system (semanticdb-project-database-system-c "/usr/include/"))
>> > > eieio-generic-call(semanticdb-load-system-database (semanticdb-project-database-system-c "/usr/include/"))
>> > > semanticdb-load-system-database(semanticdb-project-database-system-c "/usr/include/")
>> > > semanticdb-create-system-database("/usr/include/")
>> > > call-interactively(semanticdb-create-system-database)
>> > > execute-extended-command(nil)
>> > > call-interactively(execute-extended-command
>> > >
>> > >On Tue, Apr 29, 2008 at 11:03:49PM -0400, Eric M. Ludlam wrote:
>> > >> I've checked in a fix for the C parsing error I found in my system
>> > >> directory now too, so you should be good to go.
>> > >>
[ ... ]
--
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net
|