Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.37
 
1.38
 
MAIN:ragge:20030607174746
 
pftn.c
_>4747 
 4848 int ddebug = 0;
 4949 
<>50 -/* XXX - temporary while removing symtab array */
 51 -#define MAXTAGS 1000
 52 -struct symtab *strtags[MAXTAGS];
 53 -int curtag;
 54 -struct symtab * gettag(char *name);
 55 -
 56 -struct symtab *
 57 -gettag(char *name)
 58 -{
 59 -        int i;
 60 -
 61 -        for (i = 0; i < curtag; i++)
 62 -                if (strtags[i]->sname == name)
 63 -                        return strtags[i];
 64 -        if (curtag == MAXTAGS)
 65 -                cerror("too many tags (%d)", curtag);
 66 -        strtags[curtag++] = getsymtab(name, STAG);
 67 -        return strtags[i];
 68 -}
 69 -/* end temporary */
 70 -
7150 void
 7251 defid(NODE *q, int class)
 7352 {
     
 !
21422121 # endif
 21432122 
 21442123         if (s == STAG)
<>2145 -                return gettag(name);
  2124+                return symbol_add(name);
<_21462125 
 21472126         if (s != 0 && s != SNOCREAT)
 21482127                 cerror("lookup s %o", s);
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-07-10 21:28 +0200