nano (2.2.6-1) auto.patch

Summary

 doc/syntax/c.nanorc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Support C/C++ 'auto' storage class specifier
Author: Tiago Silva
Bug-Ubuntu: https://bugs.launchpad.net/bugs/674474
Forwarded: no
Last-Update: 2010-11-29

Index: b/doc/syntax/c.nanorc
===================================================================
--- a/doc/syntax/c.nanorc
+++ b/doc/syntax/c.nanorc
@@ -2,7 +2,7 @@
 ##
 syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
 color brightred "\<[A-Z_][0-9A-Z_]+\>" 
-color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
+color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|auto|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
 color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>"
 color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>"
 color brightyellow "\<(for|if|while|do|else|case|default|switch)\>"