mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Change-Id: Id77a33ffa46155fb9aff756c1a026678c7cd44ea
This commit is contained in:
parent
8f78f34f19
commit
835a0c7b20
1 changed files with 5 additions and 0 deletions
|
@ -342,6 +342,11 @@ public class MICommand<V extends MIInfo> implements ICommand<V> {
|
||||||
builder.insert(0, '"');
|
builder.insert(0, '"');
|
||||||
builder.append('"');
|
builder.append('"');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// an empty parameter can be passed with two single quotes
|
||||||
|
if (value.isEmpty()) {
|
||||||
|
builder.append("''"); //$NON-NLS-1$
|
||||||
|
}
|
||||||
|
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue