Bug#402242: gcc's statement expressions break syntax highlighting

Alvaro Martinez Echevarria ame at acm.org
Sat Dec 9 00:40:11 UTC 2006


Package: vim-runtime
Version: 7.0-164+1

When this sort of construct is included in C code,
brace highlighting breaks in the rest of the file:

#define FUNCTION(x) ({ x; })

That macro is a "statement expression" (a very useful gcc
extension). Add it in the beginning of your file, and all the
curly braces below it will be drenched in red.
Regards,

--
Álvaro Martínez Echevarría              ame AT acm.org

``Pero yo que he sentido una vez en mis manos temblar
la alegría / ya no podré morir nunca. / Pero yo que he
tocado una vez las agudas agujas del pino / ya no podré
morir nunca''. [José Hierro, "El muerto"]


More information about the pkg-vim-maintainers mailing list