Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.4
 
1.5
 
MAIN:ragge:20040822121904
 
cpp.c
_>781781         struct recur *rp;
 782782 {
 783783         usch **args, *obuf, *ap, *bp, *sp;
<>784 -        int narg, c, i, plev, snuff;
  784+        int narg, c, i, plev, snuff, instr;
785785 
 786786 if (dflag)printf("expdef %s rp %s\n", vp, (rp ? (char *)rp->sp->namep : ""));
 787787         if ((c = yylex()) != '(')
     
 !
829829         }
 830830 #endif
 831831         sp = vp;
<>832 -        snuff = 0;
  832+        instr = snuff = 0;
833833 
 834834         /*
 835835          * push-back replacement-list onto lex buffer while replacing
     
 !
861861                                 bp++;
 862862                         while (bp > ap) {
 863863                                 cunput(*--bp);
<>864 -                                if (snuff && (*bp == '\\' || *bp == '"'))
  864+                                if (*bp == '"' && bp[-1] != '\\' && snuff) {
  865+                                        instr ^= 1;
  866+                                        if (instr == 0)
  867+                                                cunput('\\');
  868+                                }
  869+                                if (instr && (*bp == '\\' || *bp == '"'))
<_865870                                         cunput('\\');
 866871                         }
 867872                 } else
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-30 21:56 +0200