Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#84 //-comments parsing problem

closed-duplicate
nobody
semantic (53)
5
2008-03-02
2007-03-26
Anonymous
No

Hello!

I have same problem as in http://sourceforge.net/mailarchive/message.php?msg_id=8833529 . But now it happens with c++ one line comments. Like this:

//some comment \ some comment continued

The real trouble is then you have:

//if (f==true) { \ a=b; }

parser thinks what where's unmatched bracket and methods buffer is ruined / showing incorrect information.

>This is a legal expression in C and the compiler
has no problems handling it.
=)

Thanks! You're doing a great job!

Sincerely Yours.
anonymous from linux.org.ru.

Discussion

  • Eric M. Ludlam
    Eric M. Ludlam
    2008-03-02

    • status: open --> closed-duplicate