Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 64301 Details for
Bug 183166
#error creates error and warning preprocessor node
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed patch
ppErrorPatch.txt (text/plain), 1.29 KB, created by
Emanuel Graf
on 2007-04-19 07:53:01 EDT
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Emanuel Graf
Created:
2007-04-19 07:53:01 EDT
Size:
1.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.core >Index: parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt-releng/all/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java,v >retrieving revision 1.82 >diff -u -r1.82 BaseScanner.java >--- parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java 19 Apr 2007 09:30:25 -0000 1.82 >+++ parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java 19 Apr 2007 11:49:11 -0000 >@@ -1679,8 +1679,11 @@ > boolean isWarning= type == IPreprocessorDirective.ppWarning; > handleProblem(isWarning ? IProblem.PREPROCESSOR_POUND_WARNING : IProblem.PREPROCESSOR_POUND_ERROR, start, > CharArrayUtils.extract(buffer, start, end-start)); >- processError(pos, end); >- processWarning(pos, end); >+ if(isWarning){ >+ processWarning(pos, end); >+ }else{ >+ processError(pos, end); >+ } > return; > case IPreprocessorDirective.ppEndif: > skipToNewLine();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bjorn.freeman-benson
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 183166
: 64301