comparison src/testdir/test3.in @ 2805:ac639ca9f58f v7.3.178

updated for version 7.3.178 Problem: C-indent doesn't handle code right after { correctly. Solution: Fix detecting unterminated line. (Lech Lorens)
author Bram Moolenaar <bram@vim.org>
date Tue, 10 May 2011 11:39:19 +0200
parents cdefcbb70e8c
children 11e62fb6f815
comparison
equal deleted inserted replaced
2804:60890b26cb17 2805:ac639ca9f58f
1347 ) 1347 )
1348 { 1348 {
1349 } 1349 }
1350 1350
1351 STARTTEST 1351 STARTTEST
1352 :set cino&
1353 2kdd=][
1354 ENDTEST
1355
1356 void func(void)
1357 {
1358 if(x==y)
1359 if(y==z)
1360 foo=1;
1361 else { bar=1;
1362 baz=2;
1363 }
1364 printf("Foo!\n");
1365 }
1366
1367 STARTTEST
1352 :g/^STARTTEST/.,/^ENDTEST/d 1368 :g/^STARTTEST/.,/^ENDTEST/d
1353 :1;/start of AUTO/,$wq! test.out 1369 :1;/start of AUTO/,$wq! test.out
1354 ENDTEST 1370 ENDTEST