Bug 138333 - Pragma Bug in BaseScanner
Summary: Pragma Bug in BaseScanner
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: Doug Schaefer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-04-25 07:23 EDT by Leo Büttiker CLA
Modified: 2008-06-19 13:42 EDT (History)
1 user (show)

See Also:


Attachments
Fix the pragma bug in the BaseScanner (897 bytes, patch)
2006-04-25 07:29 EDT, Leo Büttiker CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Büttiker CLA 2006-04-25 07:23:43 EDT
There is an error in the BaseScanner which make it not possible to display the pragma preprocessor directive correctly in the AST.

Reproduce:
1. Open a file with pragma
2. Use "Show in DOM AST"
3. Pragma in the Tree would be highlighted as an error.
Comment 1 Leo Büttiker CLA 2006-04-25 07:29:47 EDT
Created attachment 39402 [details]
Fix the pragma bug in the BaseScanner
Comment 2 Doug Schaefer CLA 2006-05-04 14:11:44 EDT
A-ha, the old missing break in a case statement. I've submitted the patch. Thanks!
Comment 3 Leo Büttiker CLA 2006-10-23 03:39:39 EDT
Bug is back! You lose the the brack again in all current cvs Version (Head and CDT_3_1_1).
Comment 4 Leo Büttiker CLA 2006-10-24 08:49:53 EDT
My fault. I made some trubel with my diferent cvs versions.

(In reply to comment #3)
> Bug is back! You lose the the brack again in all current cvs Version (Head and
> CDT_3_1_1).
> 

Comment 5 Doug Schaefer CLA 2008-06-03 14:33:31 EDT
assigning
Comment 6 Doug Schaefer CLA 2008-06-03 14:33:49 EDT
done