Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.76
 
1.77
 
MAIN:ragge:20030806200848
 
trees.c
_>7777 static NODE *strargs(NODE *);
 7878 static void rmcops(NODE *p);
 7979 
<>80 -/* corrections when in violation of lint */
  80+int lastloc = -1;
8181 
 8282 /*      some special actions, used in finding the type of nodes */
 8383 # define NCVT 01
     
 !
19611961 {
 19621962         struct interpass *ip;
 19631963         va_list ap;
<>1964 -        static int lastlocc = -1;
  1964+        int nloc;
19651965 
 19661966         va_start(ap, type);
<> 1967+        if (type == IP_LOCCTR && (nloc = va_arg(ap, int) == lastloc))
  1968+                return;
19671969         ip = isinlining ? permalloc(sizeof(*ip)) : tmpalloc(sizeof(*ip));
 19681970         ip->type = type;
 19691971         switch (type) {
     
 !
19781980                 ip->ip_retl = va_arg(ap, int);
 19791981                 break;
 19801982         case IP_LOCCTR:
<>1981 -                ip->ip_locc = va_arg(ap, int);
 1982 -                if (ip->ip_locc == lastlocc)
 1983 -                        return;
 1984 -                lastlocc = ip->ip_locc;
  1983+                ip->ip_locc = nloc;
  1984+                lastloc = ip->ip_locc;
<_19851985                 break;
 19861986         case IP_DEFLAB:
 19871987                 ip->ip_lbl = va_arg(ap, int);
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-20 07:57 +0200