Ctags: C : ํ•จ์ˆ˜๊ฐ€ ๋ณ€์ˆ˜๋กœ ๊ฐ์ง€ ๋จ

์— ๋งŒ๋“  2016๋…„ 06์›” 29์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: universal-ctags/ctags

์•ˆ๋…•ํ•˜์„ธ์š”,

ctags e5b7a2508db6e1374ea78a300cc9b45f4b26b02a๋Š” Wireshark ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ epan/except.h ํ—ค๋”์—์„œ ๋ณ€์ˆ˜๋กœ ํ•จ์ˆ˜๋ฅผ ๊ฐ์ง€ํ•ฉ๋‹ˆ๋‹ค.

WS_DLL_PUBLIC void (*except_unhandled_catcher(void (*)(except_t *)))(except_t *);

๋ช…๋ น

ctags -x --c-kinds=fpvx --language-force=c epan/except.h | grep except_unhandled_catcher

๋ณด๊ณ :

except_t variable 100 epan/except.h WS_DLL_PUBLIC void (*except_unhandled_catcher(void (*)(except_t *)))(except_t *);

๊ทธ๋Ÿฌ๋‚˜ ์ด๊ฒƒ์€ except_unhandled_catcher ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค (๋ฐ˜ํ™˜ ๊ฐ’ ์œ ํ˜•๊ณผ ๋งค๊ฐœ ๋ณ€์ˆ˜ ์œ ํ˜• ๋ชจ๋‘ ํ•จ์ˆ˜ ํฌ์ธํ„ฐ์ž…๋‹ˆ๋‹ค).

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

Parser buenhancement

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

์ด๋Ÿฐ ...์ด ๊ตฌ๋ฌธ์€ ์–ด๋ ต๋‹ค : D
๋‚˜๋Š” ๊ทธ๊ฒƒ์„ ์ดํ•ดํ•˜๋ ค๊ณ  ๋…ธ๋ ฅํ•  ๊ฒƒ์ด๋‹ค.

๋ชจ๋“  3 ๋Œ“๊ธ€

๋‚˜๋Š” ์ด๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๊ณ , ์ด์ „ C ํŒŒ์„œ๊ฐ€ ๊ทธ๊ฒƒ์„ ๋งž์•˜ ์Œ์„ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. WS_DLL_PUBLIC ๋ฌด์‹œ / ์ œ๊ฑฐ๋Š” ๋‘ ๊ฒฝ์šฐ ๋ชจ๋‘ ๋ณ€๊ฒฝ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

$ ./ctags -x --OldC-kinds=+pv --languages=OldC /tmp/1012.c
except_unhandled_catcher prototype     1 /tmp/1012.c      WS_DLL_PUBLIC void (*except_unhandled_catcher(void (*)(except_t *)))(except_t *);

์ด๋Ÿฐ ...์ด ๊ตฌ๋ฌธ์€ ์–ด๋ ต๋‹ค : D
๋‚˜๋Š” ๊ทธ๊ฒƒ์„ ์ดํ•ดํ•˜๋ ค๊ณ  ๋…ธ๋ ฅํ•  ๊ฒƒ์ด๋‹ค.

์ด๊ฒƒ์€ # 1119๋กœ ์ˆ˜์ •๋˜์–ด์•ผํ•ฉ๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰