Bug#402242: closed by James Vega <jamessan at debian.org> (Workaround available)
James Vega
jamessan at debian.org
Tue Apr 21 15:13:26 UTC 2009
On Tue, Apr 21, 2009 at 02:18:00AM -0700, Alvaro Martinez Echevarria wrote:
> On Sat, 18 Apr 2009, Debian Bug Tracking System wrote:
>
> > This is an automatic notification regarding your Bug report
> > which was filed against the vim-runtime package:
> > #319830: [vim-runtime] gcc's statement expression breaks syntax highlighting
> > [...]
> > As Bram posted a few years ago, adding "let c_no_curly_error =
> > 1" to ~/.vimrc will cause the gcc extension ({ ... }) not to be
> > highlighted as an error.
>
> Sorry, that's kind of bogus. That is no workaround, that disables
> *all* curly highlighting errors. And then this:
>
> if (curlies_wrong) {}}}}
>
> won't show as an error. That is as much a workaround as "syntax off"
> or, exagerating a bit, "start using emacs" or "do not use gcc
> extensions". What you guys need to do is fix the syntax to
> understand gcc extensions.
No one *needs* to do anything. If you want to make sure it gets fixed
to your satisfaction, send a patch and I'll gladly forward it upstream
to Bram for his consideration.
Bram hasn't expressed any interest in fixing syntax highlighting of what
he considers a bug in GCC so I doubt you'll get him to implement the
feature (yes, feature not bug fix since it's a GCC extension).
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090421/4b62b7a8/attachment.pgp>
More information about the pkg-vim-maintainers
mailing list