> This patch adds a few missing constants to the c syntax file
>
> ---
> runtime/syntax/c.vim | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim
> index 50878a78e..be5da154d 100644
> --- a/runtime/syntax/c.vim
> +++ b/runtime/syntax/c.vim
> @@ -349,6 +349,7 @@ if !exists("c_no_ansi") || exists("c_ansi_constants") ||
> exists("c_gnu")
> syn keyword cConstant SIGSTOP SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU
> SIGUSR1 SIGUSR2
> syn keyword cConstant _IOFBF _IOLBF _IONBF BUFSIZ EOF WEOF FOPEN_MAX
> FILENAME_MAX L_tmpnam
> syn keyword cConstant SEEK_CUR SEEK_END SEEK_SET TMP_MAX stderr stdin
> stdout EXIT_FAILURE EXIT_SUCCESS RAND_MAX
> + syn keyword cConstant STDIN_FILENO STDOUT_FILENO STDERR_FILENO
> " used in assert.h
> syn keyword cConstant NDEBUG
> " POSIX 2001
I can include that. I wonder what standard that is part of. I
don't think it is a C standard, looks like it's part of Unix/Linux.
--
hundred-and-one symptoms of being an internet addict:
237. You tattoo your email address on your forehead.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230307154000.76E4D1C0354%40moolenaar.net.