Bug 133723 - CDT AST DOM cannot recognize #pragmas
Summary: CDT AST DOM cannot recognize #pragmas
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Doug Schaefer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-03-28 16:48 EST by Beth Tibbitts CLA
Modified: 2008-06-19 13:37 EDT (History)
1 user (show)

See Also:


Attachments
patch file to add #pragma keyword (1.71 KB, patch)
2006-03-28 16:49 EST, Beth Tibbitts 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 Beth Tibbitts CLA 2006-03-28 16:48:30 EST
This fix will enable #pragmas to be detected when walking the AST DOM tree.

It adds the pragma keyword to the Keywords class list, and puts that keyword
in the BaseScanner class's list of keywords.
Comment 1 Beth Tibbitts CLA 2006-03-28 16:49:52 EST
Created attachment 37149 [details]
patch file to add #pragma keyword

Here is the patch.
Comment 2 Doug Schaefer CLA 2006-03-29 11:30:43 EST
Simple enough. I have committed the patch.