mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
typos and bug fix
This commit is contained in:
parent
f5900614c5
commit
5e66ec902e
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ public class MIInfoSignalsInfo extends MIInfo {
|
||||||
// Pass the header and th tailer.
|
// Pass the header and th tailer.
|
||||||
// ~"Signal Stop\tPrint\tPass to program\tDescription\n"
|
// ~"Signal Stop\tPrint\tPass to program\tDescription\n"
|
||||||
// ~"Use the \"handle\" command to change these tables.\n"
|
// ~"Use the \"handle\" command to change these tables.\n"
|
||||||
if (!str.startsWith("Signal ") && str.startsWith("Use ")) {
|
if (!str.startsWith("Signal ") && !str.startsWith("Use ")) {
|
||||||
String signal = "";
|
String signal = "";
|
||||||
boolean stop = false;
|
boolean stop = false;
|
||||||
boolean print = false;
|
boolean print = false;
|
||||||
|
@ -70,7 +70,7 @@ public class MIInfoSignalsInfo extends MIInfo {
|
||||||
StringTokenizer tokenizer = new StringTokenizer(str);
|
StringTokenizer tokenizer = new StringTokenizer(str);
|
||||||
for (int i = 0; tokenizer.hasMoreTokens(); i++) {
|
for (int i = 0; tokenizer.hasMoreTokens(); i++) {
|
||||||
String sub = null;
|
String sub = null;
|
||||||
if (i == 3) {
|
if (i == 4) {
|
||||||
sub = tokenizer.nextToken("\n");
|
sub = tokenizer.nextToken("\n");
|
||||||
} else {
|
} else {
|
||||||
sub = tokenizer.nextToken();
|
sub = tokenizer.nextToken();
|
||||||
|
|
Loading…
Add table
Reference in a new issue