Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] __LINE__ and __FILE__ generate error in editor

Yes, I see it's in the list of standard built-ins. They should always work, at least in theory.

On Wed, Feb 1, 2012 at 6:37 PM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:
Your example works fine for me. Have you tried to close and reopen the file?

-sergey

On Wed, Feb 1, 2012 at 2:19 PM, Chuong, Patrick <pchuong@xxxxxx> wrote:

Hi,

 

I am getting the C/C++ Indexer Marker for this piece of code.

 

Is there a way to add __FILE__ and __LINE__ to the parser or programmatically extend the parser to clean up the error in the editor?

 

Thanks,

Patrick


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top