Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.64
 
1.65
 
MAIN:ragge:20030619223001
 
pftn.c
_>1010 
 1111 struct symtab *spname;
 1212 struct symtab *cftnsp;
<>13 -static int strunem;     /* currently parsed member type */
  13+static int strunem;             /* currently parsed member type */
  14+int arglistcnt, dimfuncnt;      /* statistics */
  15+int symtabcnt, suedefcnt;
1416 
 1517 struct params;
 1618 
     
 !
313315         p->suse = lineno;
 314316         if (class == STNAME || class == UNAME || class == ENAME) {
 315317                 p->ssue = permalloc(sizeof(struct suedef));
<> 318+                suedefcnt++;
316319                 p->ssue->suesize = 0;
 317320                 p->ssue->suelem = NULL;
 318321                 p->ssue->suealign = ALSTRUCT;
     
 !
638641 
 639642         if (r->rsym == NULL) {
 640643                 sue = permalloc(sizeof(struct suedef));
<> 644+                suedefcnt++;
641645                 sue->suesize = 0;
 642646                 sue->suealign = ALSTRUCT;
 643647         } else
     
 !
19721976 
 19731977         if (ntdim) {
 19741978                 union dimfun *a = permalloc(sizeof(union dimfun) * ntdim);
<> 1979+                dimfuncnt += ntdim;
19751980                 for (i = 0, base = tylnk.next; base; base = base->next, i++)
 19761981                         a[i] = base->df;
 19771982                 idp->n_df = a;
     
 !
20302035         /* Second: Create list to work on */
 20312036         ap = tmpalloc(sizeof(NODE *) * cnt);
 20322037         al = permalloc(sizeof(union arglist) * num);
<> 2038+        arglistcnt += num;
20332039 
 20342040         for (w = n, i = 0; w->n_op == CM; w = w->n_left)
 20352041                 ap[i++] = w->n_right;
     
 !
25492555 {
 25502556         struct symtab *s;
 25512557 
<>2552 -        if (flags & STEMP)
  2558+        if (flags & STEMP) {
25532559                 s = tmpalloc(sizeof(struct symtab));
<>2554 -        else
  2560+        } else {
25552561                 s = permalloc(sizeof(struct symtab));
<> 2562+                symtabcnt++;
  2563+        }
<_25562564         s->sname = name;
 25572565         s->snext = NULL;
 25582566         s->stype = UNDEF;
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-21 23:18 +0100