Hi,

I use exhuberant ctags to analyse my project. I encounter the
following problem : sometimes, a local var name is repeated in several
files.

Here is the list of tags :


result  .\src\project\file1.cpp /^    UINT result = m_nbMajor;$/;"
l                                      line :208
result  .\src\project\file1.cpp /^    UINT result = m_nbMinor;$/;"
l                                      line :218
result  .\src\project\file1.cpp /^    const bool result = (maap_alarm-
>criticity == MAJOR_ALARM) ||$/;"       l line :471
result  .\src\project\file2.cpp /^                              char *result = 
strrchr(vers,'\
\'');$/;"       l                           line :353
result  .\src\project\file2.cpp /^            DWORD result;$/;"
l                                         line :1267
result  .\src\project\file3.cpp /^      UINT result;$/;"
l                                                     line :111
result  .\src\project\file3.cpp /^      UINT result;$/;"
l                                                     line :68
result  .\src\project\file4.cpp /^      UINT result;    $/;"
l                                                    line :129
result  .\src\project\file4.cpp /^      UINT result;    $/;"
l                                                    line :144
result  .\src\project\file4.cpp /^      UINT result;$/;"
l                                                     line :101
result  .\src\project\file4.cpp /^      UINT result;$/;"
l                                                     line :115
result  .\src\project\file4.cpp /^    bool result;$/;"
l                                                  line :60
result  .\src\project\file4.cpp /^    bool result;$/;"
l                                                  line :80


You can see that 'result' var is in file1 to 4.
I am reading files one by one and I have to get type of each returned
var.

So I would like to know if another command as tag result can return me
the good definition of result var I am reading at a line in a file.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to