From 0300597f4c743f4fe352192ef653b899e3ab544c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 20 Nov 2008 13:12:36 +0000 Subject: updated for version 7.2-047 --- src/main.c | 11 ++++++++++- src/version.c | 2 ++ src/vim.h | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 17cab6d34..a09116596 100644 --- a/src/main.c +++ b/src/main.c @@ -1510,7 +1510,8 @@ parse_command_name(parmp) early_arg_scan(parmp) mparm_T *parmp; { -#if defined(FEAT_XCLIPBOARD) || defined(FEAT_CLIENTSERVER) +#if defined(FEAT_XCLIPBOARD) || defined(FEAT_CLIENTSERVER) \ + || !defined(FEAT_NETBEANS_INTG) int argc = parmp->argc; char **argv = parmp->argv; int i; @@ -1582,6 +1583,14 @@ early_arg_scan(parmp) else if (STRICMP(argv[i], "--echo-wid") == 0) echo_wid_arg = TRUE; # endif +# ifndef FEAT_NETBEANS_INTG + else if (strncmp(argv[i], "-nb", (size_t)3) == 0) + { + mch_errmsg(_("'-nb' cannot be used: not enabled at compile time\n")); + mch_exit(2); + } +# endif + } #endif } diff --git a/src/version.c b/src/version.c index b106c951b..8912575f4 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 47, /**/ 46, /**/ diff --git a/src/vim.h b/src/vim.h index 14405dc55..0a979e4e4 100644 --- a/src/vim.h +++ b/src/vim.h @@ -1986,6 +1986,9 @@ typedef int VimClipboard; /* This is required for the prototypes. */ # endif #endif +#ifndef FEAT_NETBEANS_INTG +# undef NBDEBUG +#endif #ifdef NBDEBUG /* Netbeans debugging. */ # include "nbdebug.h" #else -- cgit v1.2.1