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