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 15846 Details for
Bug 78570
VC error parser can't handle (###,##)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
VCErrorParser.java patch
VCErrorParser.txt (text/plain), 877 bytes, created by
PalmSource Eclipse Bug Tracker
on 2004-11-12 18:16:28 EST
(
hide
)
Description:
VCErrorParser.java patch
Filename:
MIME Type:
Creator:
PalmSource Eclipse Bug Tracker
Created:
2004-11-12 18:16:28 EST
Size:
877 bytes
patch
obsolete
>Index: VCErrorParser.java >=================================================================== >RCS file: /home/tools/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/errorparsers/VCErrorParser.java,v >retrieving revision 1.6 >diff -u -r1.6 VCErrorParser.java >--- VCErrorParser.java 4 Mar 2004 00:39:25 -0000 1.6 >+++ VCErrorParser.java 12 Nov 2004 22:58:32 -0000 >@@ -38,8 +38,12 @@ > if (tok.hasMoreTokens()) { > String fileName = tok.nextToken(); > if (tok.hasMoreTokens()) { >+ // Line number can either be ### or ###,## > String lineNumber = tok.nextToken(); > try { >+ int firstComma = lineNumber.indexOf(','); >+ if (firstComma != -1) >+ lineNumber = lineNumber.substring(0, firstComma); > int num = Integer.parseInt(lineNumber); > int i = fileName.lastIndexOf(File.separatorChar); > if (i != -1) {
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 78570
: 15846