1 /* vi:set ts=8 sts=8 sw=8:
3 * VIM - Vi IMproved by Bram Moolenaar
4 * Visual Workshop integration by Gordon Prieur
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
19 fprintf(stderr, "Assertion failed: line %d, file %s\n", \
20 __LINE__, __FILE__); \
26 #define WS_TRACE 0x00000001
27 #define WS_TRACE_VERBOSE 0x00000002
28 #define WS_TRACE_COLONCMD 0x00000004
29 #define WS_DEBUG_ALL 0xffffffff
31 #define WSDLEVEL(flags) (ws_debug != NULL && (ws_dlevel & (flags)))
37 #define WSDEBUG_TRACE 1
38 //#define WSDEBUG_SENSE 2
41 WT_ENV
= 1, /* look for env var if set */
42 WT_WAIT
, /* look for ~/.gvimwait if set */
43 WT_STOP
/* look for ~/.gvimstop if set */
47 void wsdebug(char *, ...);
48 void wstrace(char *, ...);
51 extern FILE *ws_debug
;
52 extern u_int ws_dlevel
; /* ws_debug verbosity level */
54 # else /* not WSDEBUG */
61 * The following 2 stubs are needed because a macro cannot be used because of
62 * the variable number of arguments.
81 #endif /* WSDEBUG_H */