Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333941

Summary: Missing semicolon doesn't show squiggly line
Product: [Tools] CDT Reporter: Marc-AndrĂ© Laperle <malaperle>
Component: cdt-parserAssignee: Markus Schorn <mschorn.eclipse>
Status: RESOLVED FIXED QA Contact: Markus Schorn <mschorn.eclipse>
Severity: enhancement    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix mschorn.eclipse: iplog-

Description Marc-André Laperle CLA 2011-01-11 00:32:57 EST
As a consequence of the solution in bug 314593, some missing semicolon syntax errors don't show a squiggly line anymore. 

For example:

printf()
return;

There will be an icon in the vertical ruler but no squiggly line. I find that when I'm typing, I'm paying more attention to the squiggly lines than the vertical ruler, so I miss it. I would be great if it could look like JDT, see
https://bugs.eclipse.org/bugs/attachment.cgi?id=170127
Comment 1 Markus Schorn CLA 2011-01-26 11:54:06 EST
JDT seems to mark the last token before the missing semicolon. A similar solution for c/c++ is hard to accomplish. We could mark the last character
before the missing semicolon, though.
Comment 2 Markus Schorn CLA 2011-01-26 11:55:50 EST
Created attachment 187654 [details]
fix
Comment 3 Markus Schorn CLA 2011-01-26 11:58:29 EST
Fixed in 8.0 > 20110126.