Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.122
 
1.123
 
MAIN:plunky:20140818112734
 
scan.l
_>161161 0[xX]{H}+{IS}?          { yylval.nodep = cvtdig(16); return(C_ICON); }
 162162 0{D}+{IS}?              { yylval.nodep = cvtdig(8); return(C_ICON); }
 163163 {D}+{IS}?               { yylval.nodep = cvtdig(10); return(C_ICON); }
<>164 -L'(\\.|[^\\'])+'        { yylval.nodep = wcharcon(); return(C_ICON); }
 165 -'(\\.|[^\\'])+'         { yylval.nodep = charcon(); return(C_ICON); }
  164+L'(\\.|[^\\'])*'        { yylval.nodep = wcharcon(); return(C_ICON); }
  165+'(\\.|[^\\'])*'         { yylval.nodep = charcon(); return(C_ICON); }
166166 
 167167 {D}+{E}{FS}?            { yylval.nodep = floatcon(yytext); return(C_FCON); }
 168168 {D}*"."{D}+({E})?{FS}?  { yylval.nodep = floatcon(yytext); return(C_FCON); }
     
 !
525525         int val = 0, i = 0;
 526526         char *pp = yytext;
 527527 
<>528 -        if (*pp == 'L')
 529 -                pp++;
 530 -        pp++;
  528+        pp++;   /* skip ' */
531529         while (*pp != '\'') {
 532530                 val=esc2char(&pp);
 533531                 i++;
     
 !
549547         unsigned int val = 0, i = 0;
 550548         char *pp = yytext;
 551549 
<>552 -        if (*pp == 'L')
 553 -                pp++;
 554 -        pp++;
  550+        pp++;   /* skip L */
  551+        pp++;   /* skip ' */
555552         while (*pp != '\'') {
 556553                 if(*pp == '\\') val=esc2char(&pp);
 557554                 else val=u82cp(&pp);
     
 !
560557 
 561558         if (i == 0)
 562559                 uerror("empty wide-character constant");
<>563 -        if (i > 1)
  560+        else if (i > 1)
<_564561                 werror("%d too many characters in wide-character constant",i-1);
 565562         return xbcon(val, NULL, ctype(UNSIGNED));
 566563 }
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-20 20:29 +0100