From fe2042da8aef7ae828557724debd7c65dc5106dd Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sun, 21 Mar 2010 05:04:03 +0000 Subject: [PATCH] 2010-03-21 Mike Frysinger * 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 | 3 +++ doc/syntax/c.nanorc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ca529ee8..c86f53cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-03-21 Mike Frysinger + * doc/syntax/c.nanorc: Add additional support for #include_next and #pragma + 2010-03-21 Chris Allegretta * 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 diff --git a/doc/syntax/c.nanorc b/doc/syntax/c.nanorc index 45da48b7..b89c9d29 100644 --- a/doc/syntax/c.nanorc +++ b/doc/syntax/c.nanorc @@ -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