Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.43
 
1.44
 
MAIN:ragge:20110116115554
 
token.c
_>9191 /* get next character unaltered */
 9292 #define NXTCH() (ifiles->curptr < ifiles->maxread ? *ifiles->curptr++ : inpch())
 9393 
<>94 -#ifdef YYTEXT_POINTER
 95 -static char buf[CPPBUF];
 96 -char *yytext = buf;
 97 -#else
 98 -char yytext[CPPBUF];
 99 -#endif
  94+usch yytext[CPPBUF];
10095 
 10196 char spechr[256] = {
 10297         0,      0,      0,      0,      C_SPECC_SPEC0,      0,
     
 !
169164                         continue;
 170165                 }
 171166                 switch (ch) {
<>172 -                case EXP:
 173 -                case NEX:
  167+                case EBLOCK:
174168                 case WARN:
 175169                 case CONC:
 176170                         error("bad char passed");
     
 !
254248                 case '\"': /* strings */
 255249 str:                    PUTCH(ch);
 256250                         while ((ch = inch()) != '\"') {
<>257 -                                if (ch == EXP)
 258 -                                        doexp();
 259 -                                else if (ch == NEX)
 260 -                                        donex();
 261 -                                else if (ch != CONC) /* XXX ??? */
262251                                         PUTCH(ch);
 263252                                 if (ch == '\\') {
 264253                                         ch = inch();
     
 !
617606                 return NUMBER;
 618607 
 619608         case IDENT:
<>620 -                if (strcmp(yytext, "defined") == 0) {
  609+                if (strcmp((char *)yytext, "defined") == 0) {
621610                         ifdef = 1;
 622611                         return DEFINED;
 623612                 }
     
 !
861850 {
 862851         unsigned long long rv = 0;
 863852         unsigned long long rv2 = 0;
<>864 -        char *y = yytext;
  853+        usch *y = yytext;
865854         int c;
 866855 
 867856         c = *y++;
     
 !
11591148         if (sloscan() != WSPACE)
 11601149                 error("bad pragma");
 11611150         if (!flslvl)
<>1162 -                putstr((const usch *)"#pragma ");
  1151+                putstr((const usch *)"\n#pragma ");
<_11631152         do {
 11641153                 c = inch();
 11651154                 if (!flslvl)
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-22 12:22 +0100