comparison src/testdir/test3.ok @ 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
1202 #endif 1202 #endif
1203 ) 1203 )
1204 { 1204 {
1205 } 1205 }
1206 1206
1207
1208 void func(void)
1209 {
1210 if(x==y)
1211 if(y==z)
1212 foo=1;
1213 else { bar=1;
1214 baz=2;
1215 }
1216 printf("Foo!\n");
1217 }
1218