comparison src/testdir/test3.in @ 3186:c025592d7b1d v7.3.363

updated for version 7.3.363 Problem: C indenting is wrong after #endif followed by a semicolon. Solution: Add special handling for a semicolon in a line by itself. (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Wed, 30 Nov 2011 17:20:23 +0100
parents 0ecfe54a273f
children 0f193ef0f429
comparison
equal deleted inserted replaced
3185:c6236b9bf1b8 3186:c025592d7b1d
1457 5, 6}; 1457 5, 6};
1458 1458
1459 printf("This line used to be indented incorrectly.\n"); 1459 printf("This line used to be indented incorrectly.\n");
1460 } 1460 }
1461 1461
1462 int foo[]
1463 #ifdef BAR
1464
1465 = { 1, 2, 3,
1466 4, 5, 6 }
1467
1468 #endif
1469 ;
1470 int baz;
1471
1462 void func3(void) 1472 void func3(void)
1463 { 1473 {
1464 int tab[] = { 1474 int tab[] = {
1465 1, 2, 1475 1, 2,
1466 3, 4, 1476 3, 4,