]> git.wh0rd.org Git - nano.git/commitdiff
2010-03-21 Mike Frysinger <vapier@gentoo.org>
authorChris Allegretta <chrisa@asty.org>
Sun, 21 Mar 2010 05:04:03 +0000 (05:04 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 21 Mar 2010 05:04:03 +0000 (05:04 +0000)
        * doc/syntax/c.nanorc: Add additional support for #include_next and #pragma

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4488 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/c.nanorc

index ca529ee8ccc1df465e5c7e5c31038e5313175c39..c86f53cc289b655cfd0c0997cfa5ae825eae3686 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-03-21 Mike Frysinger <vapier@gentoo.org>
+       * doc/syntax/c.nanorc: Add additional support for #include_next and #pragma
+
 2010-03-21 Chris Allegretta <chrisa@asty.org>
        * move.c (do_page_up, do_page_down()): Explicitly set current_y to 0 when paging 
          up when not in smooth scroll mode, as previous fixes would otherwise cause 
index 45da48b7139f2f94261257514a9b98f35dbb3fc5..b89c9d296abb924182cedf7fb00a185fcf4415ff 100644 (file)
@@ -8,7 +8,7 @@ color green "\<(class|namespace|template|public|protected|private|typename|this|
 color brightyellow "\<(for|if|while|do|else|case|default|switch)\>"
 color brightyellow "\<(try|throw|catch|operator|new|delete)\>"
 color magenta "\<(goto|continue|break|return)\>"
-color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
+color brightcyan "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
 color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
 ##
 ## GCC builtins