bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: htags: status line could show better status line


From: Yann Dirson - LOGATIQUE
Subject: Re: htags: status line could show better status line
Date: Wed, 20 Dec 2000 09:32:57 +0100
User-agent: Mutt/1.2.5i

On Tue, Dec 19, 2000 at 10:18:41PM +0900, Shigio Yamaguchi wrote:
> But your suggestion seems one about new basic facility of GLOBAL
> beyond the issure of status line.
> As you said, GLOBAL detects only start point of object.
[...]
> Please let me think about whether or not GLOBAL should treat the range of
> function like cscope.

Maybe the end of the function/class/whatever can be approximated to the start 
of the
next (non-nested) definition, that may be sufficient for this purpose.


> > What may also be useful would be to list the same function name in the list
> > of references when a func is used more than once.  It may help when a func
> > is widely use within a single file.
> 
> I couldn't understand. Would you please show one example?

Easy - these are the references to "assert" in m4.  It would be nice to see 
which
function they belong to.

assert           616 dev_tools/m4/regex.c             assert (p + *p < pend);
assert           839 dev_tools/m4/regex.c #undef assert
assert          1157 dev_tools/m4/regex.c   assert (!FAIL_STACK_EMPTY ());      
                                \
assert          1164 dev_tools/m4/regex.c   assert (fail_stack.avail >= 
NUM_NONREG_ITEMS);                      \
assert          1738 dev_tools/m4/regex.c                 assert (p - 1 > 
pattern);
assert          2103 dev_tools/m4/regex.c               assert 
(compile_stack.avail != 0);
assert          2338 dev_tools/m4/regex.c                assert (beg_interval);
assert          2786 dev_tools/m4/regex.c   assert (fastmap != NULL && p != 
NULL);
assert          2806 dev_tools/m4/regex.c       assert (p < pend);
assert          3707 dev_tools/m4/regex.c                 assert 
(bufp->regs_allocated == REGS_FIXED);
assert          4442 dev_tools/m4/regex.c           assert (mcnt >= 0);
assert          4613 dev_tools/m4/regex.c         assert (p <= pend);
assert          4759 dev_tools/m4/regex.c         assert (p1[1] == **p);
assert          4845 dev_tools/m4/regex.c       assert (reg_no > 0 && reg_no <= 
MAX_REGNUM);

-- 
      /\       Yann Dirson                      <address@hidden>
     \\ \
    \ \\ /     Sun Microsystems Inc.               <http://www.sun.com/>
   / \/ / /    ChorusOS Support
  / /   \//\
  \//\   / /   Phone: +33 139 44 74 50
   / / /\ /    Phone: 44450           
    / \\ \
     \ \\
      \/       Subcontractant from Logatique  <http://www.logatique.fr/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]