1
0
Fork 0
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:
Sergey Prigogin 2013-03-15 15:44:52 -07:00
parent 7c31b952e3
commit 20d1ecd441
2 changed files with 4 additions and 7 deletions

View file

@ -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
}

View file

@ -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