Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.28
 
1.29
 
MAIN:ragge:20091231114613
 
token.c
_>7171 static int chktg(void);
 7272 static void ppdir(void);
 7373 void  include(void);
<> 74+void  include_next(void);
7475 void  define(void);
 7576 static int inpch(void);
 7677 
     
 !
672673  * Return 0 on success, -1 if file to be included is not found.
 673674  */
 674675 int
<>675 -pushfile(usch *file)
  676+pushfile(usch *file, usch *fn, int idx, void *incs)
676677 {
 677678         extern struct initar *initar;
 678679         struct includ ibuf;
     
 !
697698         ifiles = ic;
 698699         ic->lineno = 1;
 699700         ic->maxread = ic->curptr;
<> 701+        ic->idx = idx;
  702+        ic->incs = incs;
  703+        ic->fn = fn;
700704         prtline();
 701705         if (initar) {
 702706                 *ic->maxread = 0;
     
 !
11171121         { "line", line },
 11181122         { "pragma", pragmastmt },
 11191123         { "elif", elifstmt },
<> 1124+#ifdef GCC_COMPAT
  1125+        { "include_next", include_next },
  1126+#endif
11201127 };
 11211128 
 11221129 /*
     
 !
11251132 void
 11261133 ppdir(void)
 11271134 {
<>1128 -        char bp[10];
  1135+        char bp[20];
11291136         int ch, i;
 11301137 
 11311138         while ((ch = inch()) == ' ' || ch == '\t')
     
 !
11381145                 if (i == sizeof(bp)-1)
 11391146                         goto out; /* too long */
 11401147                 ch = inch();
<>1141 -        } while (ch >= 'a' && ch <= 'z');
  1148+        } while ((ch >= 'a' && ch <= 'z') || (ch == '_'));
<_11421149         unch(ch);
 11431150         bp[i++] = 0;
 11441151 
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-10-31 10:50 +0100