Re: Using % in makefiles...
- Tim wrote:
> I'm able to use the % key when on top of a C/C++ preprocessor command toThe use of '#' is hard-coded. To change this would require an option to
> jump to corresponding commands (ie, when on top of a #if, it'll jump to
> #else, if any, and #endif).
> Is it possible to extend that to makefiles? Some make utilities use !
> instead of # as the first character. I find that I often replace makefile
> commands (!if) with preprocessor ones (#if) just to find mismatched
define the character in front of the if/else/endif. You would set it to '!'
for makefiles then.
Hmm, perhaps it's possible to allow "!if", "!endif" and "!else" in C code too,
without breaking anything. I don't think these can appear in a valid C file.
We would not need an option then.
Q: What is a patch 22?
A: A patch you need to include to make it possible to include patches.
/-/-- Bram Moolenaar --- Bram@... --- http://www.moolenaar.net --\-\
\ \ Vim: http://www.vim.org ICCF Holland: http://www.vim.org/iccf / /