Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.147
 
1.148
 
MAIN:ragge:20120728202003
 
cpp.c
_>11261126                 } else
 11271127                         savstr(yytext);
 11281128         }
<> 1129+        if (stringbuf[-1] == '/')
  1130+                savch(PHOLD); /* avoid creating comments */
11291131         savch(0);
 11301132         unpstr(bp);
 11311133         stringbuf = bp;
     
 !
17721774                 case WARN: printf("<WARN>"); break;
 17731775                 case CONC: printf("<CONC>"); break;
 17741776                 case SNUFF: printf("<SNUFF>"); break;
<> 1777+                case PHOLD: printf("<PHOLD>"); break;
17751778                 case EBLOCK: printf("<E(%d)>",s[1] + s[2] * 256); s+=2; break;
 17761779                 case '\n': printf("<NL>"); break;
 17771780                 default: printf("%c", *s); break;
     
 !
18411844 putstr(const usch *s)
 18421845 {
 18431846         for (; *s; s++) {
<> 1847+                if (*s == PHOLD)
  1848+                        continue;
<_18441849                 outbuf[obufp++] = *s;
 18451850                 if (obufp == CPPBUF || (istty && *s == '\n'))
 18461851                         flbuf();
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-27 19:38 +0100