comparison src/option.h @ 36:125e80798a85 v7.0021

updated for version 7.0021
author vimboss
date Thu, 09 Dec 2004 21:34:53 +0000
parents 631143ac4a01
children 410fa1a31baf
comparison
equal deleted inserted replaced
35:8f3a526c2fe1 36:125e80798a85
17 # ifndef INIT 17 # ifndef INIT
18 # define INIT(x) x 18 # define INIT(x) x
19 # endif 19 # endif
20 #endif 20 #endif
21 21
22 /* default values for p_efm 'errorformat' */ 22 /*
23 * Default values for 'errorformat'.
24 * The "%f|%l| %m" one is used for when the contents of the quickfix window is
25 * written to a file.
26 */
23 #ifdef AMIGA 27 #ifdef AMIGA
24 # define DFLT_EFM "%f>%l:%c:%t:%n:%m,%f:%l: %t%*\\D%n: %m,%f %l %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f:%l:%m" 28 # define DFLT_EFM "%f>%l:%c:%t:%n:%m,%f:%l: %t%*\\D%n: %m,%f %l %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f:%l:%m,%f|%l| %m"
25 #else 29 #else
26 # if defined(MSDOS) || defined(WIN3264) 30 # if defined(MSDOS) || defined(WIN3264)
27 # define DFLT_EFM "%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%m" 31 # define DFLT_EFM "%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%m,%f|%l| %m"
28 # else 32 # else
29 # if defined(__EMX__) /* put most common here (i.e. gcc format) at front */ 33 # if defined(__EMX__) /* put most common here (i.e. gcc format) at front */
30 # define DFLT_EFM "%f:%l:%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f(%l:%c) : %m" 34 # define DFLT_EFM "%f:%l:%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f(%l:%c) : %m,%f|%l| %m"
31 # else 35 # else
32 # if defined(__QNX__) 36 # if defined(__QNX__)
33 # define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m" 37 # define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m,%f|%l| %m"
34 # else 38 # else
35 # ifdef VMS 39 # ifdef VMS
36 # define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f" 40 # define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f,%f|%l| %m"
37 # else /* Unix, probably */ 41 # else /* Unix, probably */
38 # ifdef EBCDIC 42 # ifdef EBCDIC
39 #define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f" 43 #define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m"
40 # else 44 # else
41 #define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f" 45 #define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m"
42 # endif 46 # endif
43 # endif 47 # endif
44 # endif 48 # endif
45 # endif 49 # endif
46 # endif 50 # endif
443 # define FDO_INSERT 0x100 447 # define FDO_INSERT 0x100
444 # define FDO_UNDO 0x200 448 # define FDO_UNDO 0x200
445 # define FDO_JUMP 0x400 449 # define FDO_JUMP 0x400
446 #endif 450 #endif
447 EXTERN char_u *p_fp; /* 'formatprg' */ 451 EXTERN char_u *p_fp; /* 'formatprg' */
452 EXTERN int p_fs; /* 'fsync' */
448 EXTERN int p_gd; /* 'gdefault' */ 453 EXTERN int p_gd; /* 'gdefault' */
449 #ifdef FEAT_PRINTER 454 #ifdef FEAT_PRINTER
450 EXTERN char_u *p_pdev; /* 'printdevice' */ 455 EXTERN char_u *p_pdev; /* 'printdevice' */
451 # ifdef FEAT_POSTSCRIPT 456 # ifdef FEAT_POSTSCRIPT
452 EXTERN char_u *p_penc; /* 'printencoding' */ 457 EXTERN char_u *p_penc; /* 'printencoding' */