Masatake YAMATO

Results 774 comments of Masatake YAMATO

@shigio, I have written some important building blocks for implementing "reference tag". I would like to study what is "reference tag" more. Consider follwoing small C code is given as...

@shigio, thank you. Very informative. I will think more about ctags side specification.

(Private study note). We can think about a concept, "kinds" in referencing(let's call rkind). C: ``` func () { a = b.d; foo(&c); ``` a and c are lvalue reference....

Temporarily I should not think about rkind. Instead I can introduce generic rkind called "unknown" or "generic". When we introduce the reference field, some of existing tags and/or kinds should...

Implemented. I used 'ref:' as the name for field. ``` [yamato@x201]~/var/ctags-github% git diff | diffstat git diff | diffstat entry.c | 3 +++ entry.h | 1 + field.c | 3...

http://rigaux.org/language-study/syntax-across-languages/

@vhda, thank you. I read #80 again. I think we can do something without memory database. Here we assume tags file format is stable enough(We are working for it now:-P)....

( `-I` option is a kind of the hints option. A script in linux kernel uses `-I` heavily.)

`--xformat` now works. ``` % ./ctags -x --xformat="%n [%10K] %30N --- %C" main/field.h | head 13 [ macro] _FIELD_H --- #define _FIELD_H 18 [ enum] eFieldType --- typedef enum eFieldType...

One more: ``` ./ctags -x --xformat="(define-%K %N :line %n :file \"%F\")" -R main | head (define-enum eCharacters :line 52 file: "main/read.h") (define-enum eCppLimits :line 37 file: "main/get.c") (define-enum eDebugLevels :line...