mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Error in looking for the CIdentifier.
* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
This commit is contained in:
parent
13d0e52cba
commit
e993ab0e1c
2 changed files with 6 additions and 1 deletions
|
@ -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
|
2004-05-28 Alain Magloire
|
||||||
|
|
||||||
Fix to PR 60020.
|
Fix to PR 60020.
|
||||||
|
|
|
@ -226,7 +226,7 @@ public class GDBTypeParser {
|
||||||
// GDB hack accept ':' ',' part of the GDB hacks
|
// GDB hack accept ':' ',' part of the GDB hacks
|
||||||
// when doing ptype gdb returns "class A : public C { ..}"
|
// when doing ptype gdb returns "class A : public C { ..}"
|
||||||
boolean isCIdentifierPart(int 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 true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue