Mercurial > vim
comparison src/vim.h @ 9832:568ea507b0cd v7.4.2191
commit https://github.com/vim/vim/commit/a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 10 20:45:07 2016 +0200
patch 7.4.2191
Problem: No automatic prototype for vim_main2().
Solution: Move the #endif. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 10 Aug 2016 21:00:07 +0200 |
parents | e84e45786691 |
children | 80ace3687eec |
comparison
equal
deleted
inserted
replaced
9831:7fd691232941 | 9832:568ea507b0cd |
---|---|
2438 | 2438 |
2439 /* Options for json_encode() and json_decode. */ | 2439 /* Options for json_encode() and json_decode. */ |
2440 #define JSON_JS 1 /* use JS instead of JSON */ | 2440 #define JSON_JS 1 /* use JS instead of JSON */ |
2441 #define JSON_NO_NONE 2 /* v:none item not allowed */ | 2441 #define JSON_NO_NONE 2 /* v:none item not allowed */ |
2442 | 2442 |
2443 /* This is in main.c, cproto can't handle it. */ | |
2444 int vim_main2(void); | |
2445 | |
2446 /* Used for flags of do_in_path() */ | 2443 /* Used for flags of do_in_path() */ |
2447 #define DIP_ALL 0x01 /* all matches, not just the first one */ | 2444 #define DIP_ALL 0x01 /* all matches, not just the first one */ |
2448 #define DIP_DIR 0x02 /* find directories instead of files. */ | 2445 #define DIP_DIR 0x02 /* find directories instead of files. */ |
2449 #define DIP_ERR 0x04 /* give an error message when none found. */ | 2446 #define DIP_ERR 0x04 /* give an error message when none found. */ |
2450 #define DIP_START 0x08 /* also use "start" directory in 'packpath' */ | 2447 #define DIP_START 0x08 /* also use "start" directory in 'packpath' */ |