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 <[email protected]>
signature.asc
Description: Digital signature

