Messages in this thread | | | Date | Tue, 01 Oct 2002 13:29:30 -0500 | From | Eli Carter <> | Subject | Re: Stupid luser question |
| |
jbradford@dial.pipex.com wrote: > Just wondering, what is the purpose of the comment /* { */ which is found in various seemingly random places in the kernel: > > # grep -F -r "/* { */" * > > drivers/video/font_acorn_8x8.c:/* 7B */ 0x0C, 0x18, 0x18, 0x70, 0x18, 0x18, 0x0C, 0x00, /* { */ [snip]
Probably folding... possibly from vim/gvim.
If you're curious, look at: http://vim.sourceforge.net/htmldoc/fold.html :set foldmethod=marker :set foldmarker={,} :set foldcolumn=6 Gets folding "mostly right" for C/C++ code. Manually added folds add in a C comment containing the foldmarker, in this case "/* { */" and "/* } */"
emacs probably has this feature as well, but I'm a vim person myself. :)
If you are not familiar with folding, look into it. I find it very useful when dealing with unfamiliar code or looking at program structure.
HTH,
Eli --------------------. "If it ain't broke now, Eli Carter \ it will be soon." -- crypto-gram eli.carter(a)inet.com `-------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |