Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.17
 
1.18
 
MAIN:ragge:20041230102705
 
cpp.c
_>202202                         break;
 203203 #ifdef CPP_DEBUG
 204204                 case 'd':
<>205 -                        dflag = 1;
  205+                        dflag++;
206206                         break;
 207207 #endif
 208208                 case 't':
     
 !
752752         np = namep;
 753753         around = i = 0;
 754754         while ((c = *np++))
<>755 -                i =+ c;
  755+                i += c;
756756         i %= SYMSIZ;
 757757         sp = &symtab[i];
 758758 
     
 !
881881                         och = stringbuf;
 882882                         savstr(yystr);
 883883                         savch('\0');
<>884 -//printf("id: str %s\n", och);
  884+if (dflag > 1)printf("id: str %s\n", och);
885885                         if ((c = yylex()) == EXPAND) {
<>886 -//printf("funnet expand\n");
  886+if (dflag > 1)printf("funnet expand\n");
887887                                 if ((c = yylex()) == NOEXP) {
<>888 -//printf("funnet noexp\n");
  888+if (dflag > 1)printf("funnet noexp\n");
889889                                         if ((c = yylex()) == IDENT) {
<>890 -//printf("funnet ident %s%s\n", och, yystr);
  890+yid:
  891+if (dflag > 1)printf("funnet ident %s%s\n", och, yystr);
891892                                                 stringbuf--;
 892893                                                 savstr(yystr);
 893894                                                 savch('\0');
     
 !
897898                                                 stringbuf = och;
 898899                                                 continue;
 899900                                         } else {
<>900 -//printf("ofunnet ident\n");
  901+if (dflag > 1)printf("ofunnet ident\n");
901902                                                 unpstr(yystr);
 902903                                                 unpstr(och);
 903904                                                 stringbuf = och;
 904905                                                 continue;
 905906                                         }
 906907                                 } else {
<>907 -//printf("ofunnet inoexp\n");
  908+                                        if (c == IDENT)
  909+                                                goto yid;
  910+if (dflag > 1)printf("ofunnet inoexp\n");
908911                                         unpstr(yystr);
 909912                                         cunput(EXPAND);
 910913                                         unpstr(och);
 911914                                         yylex();
 912915                                 }
 913916                         } else {
<>914 -                                unpstr(yystr);
  917+if (dflag > 1)printf("ofunnet expand got (%d)\n", c);
  918+                                if (c == NOEXP) {
  919+                                        if ((c = yylex()) == IDENT) {
  920+                                                noexp++;
  921+                                                goto yid;
  922+                                        }
  923+                                        unpstr(yystr);
  924+                                        cunput(NOEXP);
  925+                                } else
  926+                                        unpstr(yystr);
  927+if (dflag > 1)printf("ofunnet expand yys (%d)\n", *yystr);
915928                                 unpstr(och);
 916929                                 yylex();
<>917 -//printf("ofunnet expand: yystr %s\n", yystr);
  930+if (dflag > 1)printf("ofunnet expand: yystr %s\n", yystr);
<_918931                         }
 919932                         stringbuf = och;
 920933 
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-11 05:30 +0200