Mercurial > vim
comparison src/testdir/test3.in @ 3218:0f193ef0f429 v7.3.379
updated for version 7.3.379
Problem: C-indenting wrong for static enum.
Solution: Skip over "static". (Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Dec 2011 20:05:21 +0100 |
parents | c025592d7b1d |
children | 534b3ef1cf14 |
comparison
equal
deleted
inserted
replaced
3217:a0b8dd3aa406 | 3218:0f193ef0f429 |
---|---|
297 "bar", | 297 "bar", |
298 } | 298 } |
299 | 299 |
300 enum soppie | 300 enum soppie |
301 { | 301 { |
302 yes = 0, | 302 yes = 0, |
303 no, | 303 no, |
304 maybe | 304 maybe |
305 }; | 305 }; |
306 | 306 |
307 typedef enum soppie | 307 typedef enum soppie |
308 { | 308 { |
309 yes = 0, | 309 yes = 0, |
310 no, | 310 no, |
311 maybe | 311 maybe |
312 }; | 312 }; |
313 | |
314 static enum | |
315 { | |
316 yes = 0, | |
317 no, | |
318 maybe | |
319 } soppie; | |
313 | 320 |
314 { | 321 { |
315 int a, | 322 int a, |
316 b; | 323 b; |
317 } | 324 } |