Hi David,

Thanks. I narrowed this problem to a piece of borrowed Elisp code. The offending code was setting 'comment-start-skip' to a value that was misleading semantic.

Sorry for the noise, and thanks again.



On Thursday, November 7, 2013 9:27 PM, David Engster <deng@randomsample.de> wrote:
Balaji Rajagopalan writes:

> If I have a C multi-line comment as follows, then CEDET does not recognize the
> end of the comment. As a result, semantic does not recognize symbols below the
> comment.
>
> /*
>  * comment's
>  */
> int main (void)
> {
>    func1();
>    return 1;
> }
>
> Using global-semantic-show-unmatched-syntax-mode, I figured that the
> single-quote in the comment is the one causing the issue -- Removing the quote
> results in correct parsing of the file. Adding a matching quote also resolves
> the issue.


I cannot reproduce this. Semantic uses 'forward-comment' to skip
comments, and that's an Emacs built-in. If it doesn't work for you,
maybe you have some other modifications or packages which make this
fail.

-David