1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00

Error in looking for the CIdentifier.

* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
This commit is contained in:
Alain Magloire 2004-05-28 15:17:18 +00:00
parent 13d0e52cba
commit e993ab0e1c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-05-28 Alain Magloire
Error in looking for the CIdentifier.
* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
2004-05-28 Alain Magloire
Fix to PR 60020.

View file

@ -226,7 +226,7 @@ public class GDBTypeParser {
// GDB hack accept ':' ',' part of the GDB hacks
// when doing ptype gdb returns "class A : public C { ..}"
boolean isCIdentifierPart(int c) {
if ((c >= '0' && c <= 9) || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '_' || c == ':') {
if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '_' || c == ':') {
return true;
}
return false;