1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: C-indent doesn't handle colon in string correctly.
12 Solution: Skip the string. (Lech Lorens)
13 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
16 *** ../vim-7.3.178/src/misc1.c 2011-05-10 11:39:13.000000000 +0200
17 --- src/misc1.c 2011-05-10 11:50:14.000000000 +0200
32 ! s = skip_string(s) + 1;
33 ! else if (s[0] == ':')
37 *** ../vim-7.3.178/src/testdir/test3.in 2011-05-10 11:39:13.000000000 +0200
38 --- src/testdir/test3.in 2011-05-10 11:53:02.000000000 +0200
58 :g/^STARTTEST/.,/^ENDTEST/d
59 :1;/start of AUTO/,$wq! test.out
61 *** ../vim-7.3.178/src/testdir/test3.ok 2011-05-10 11:39:13.000000000 +0200
62 --- src/testdir/test3.ok 2011-05-10 11:50:14.000000000 +0200
78 *** ../vim-7.3.178/src/version.c 2011-05-10 11:39:13.000000000 +0200
79 --- src/version.c 2011-05-10 11:53:36.000000000 +0200
83 { /* Add new patch number below this line */
89 hundred-and-one symptoms of being an internet addict:
90 71. You wonder how people walk
92 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
93 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
94 \\\ an exciting new programming language -- http://www.Zimbu.org ///
95 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///