Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.63
 
1.64
 
MAIN:ragge:20030619211624
 
pftn.c
_>11121112  * Write last part of string.
 11131113  */
 11141114 NODE *
<>1115 -strend(char *str)
  1115+strend(struct stri *si)
11161116 {
 11171117         struct symtab *s;
 11181118         int lxarg, i, val, strtemp, strlab;
<>1119 -        char *wr = str;
  1119+        char *wr = si->str;
11201120         NODE *p;
 11211121 
 11221122         i = 0;
     
 !
11621162                 goto inl;
 11631163 
 11641164         /* If an identical string is already emitted, just forget this one */
<>1165 -        str = addstring(str);           /* enter string in string table */
 1166 -        s = lookup(str, SSTRING);       /* check for existance */
  1165+        si->str = addstring(si->str);   /* enter string in string table */
  1166+        s = lookup(si->str, SSTRING);   /* check for existance */
11671167 
 11681168         if (s->soffset == 0) { /* No string */
 11691169                 s->sclass = ILABEL;
     
 !
11881188                 (void) locctr(blevel==0 ? ilocctr : strtemp);
 11891189         } else {
 11901190                 strlab = s->soffset;
<>1191 -                i = strlen(str)+1;
  1191+                i = si->len+1;
<_11921192         }
 11931193 
 11941194         p = buildtree(STRING, NIL, NIL);
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-02 21:07 +0200