mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fixed a broken test.
This commit is contained in:
parent
7c31b952e3
commit
20d1ecd441
2 changed files with 4 additions and 7 deletions
|
@ -771,11 +771,6 @@ public class Scribe {
|
|||
printComment();
|
||||
currentPosition= scanner.getCurrentPosition();
|
||||
}
|
||||
if (pendingSpace) {
|
||||
addInsertEdit(currentPosition, SPACE);
|
||||
pendingSpace= false;
|
||||
needSpace= false;
|
||||
}
|
||||
if (startOffset + length < currentPosition) {
|
||||
return; // Don't move backwards
|
||||
}
|
||||
|
|
|
@ -24,13 +24,15 @@ const SimpleStruct simpleStruct = { 1, "mySimple", 0.1232 };
|
|||
\
|
||||
}
|
||||
|
||||
const SimpleStruct array[] = { { SIZEOF( simpleStruct, num ),
|
||||
const SimpleStruct array[] = { {
|
||||
SIZEOF( simpleStruct, num ),
|
||||
#if FOO
|
||||
"foo"
|
||||
# else
|
||||
"bar"
|
||||
#endif
|
||||
, 0.5 }, { SIZEOF( simpleStruct, floatNum ), "name", 1.1 } };
|
||||
, 0.5 }, {
|
||||
SIZEOF( simpleStruct, floatNum ), "name", 1.1 } };
|
||||
|
||||
// single line outside scope
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue