mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +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.append('"');
|
||||
}
|
||||
|
||||
// an empty parameter can be passed with two single quotes
|
||||
if (value.isEmpty()) {
|
||||
builder.append("''"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
return builder.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue