Monday, February 21, 2011

Re: C syntax, and spurious semicolons

> I tried the pattern search: /);\n{/
> It seemed to work. So maybe you can use that for a search.

It's another interesting possibility, but I think that occurs quite a
bit intentionally (especially since in C variables need to be declared
at the beginning of a block, so in long functions, one may start a block
part way through to declare and localise a bunch of variables).

Ben.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: