Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.18
 
1.19
 
MAIN:ragge:20060928111007
 
cpp.h
_>3131 
 3232 #include "../../config.h"
 3333 
<>34 -/* Scanner control codes */
 35 -#define CONTROL 257     /* ^[ \t]*# detected */
 36 -#define STRINGB 258     /* beginning of a string */
 37 -#define NL      261     /* \n */
 38 -#define STRING  262     /* complete or end of a string */
 39 -#define CHARCON 263     /* character constant */
 40 -#define NUMBER  264     /* any fixed-point number */
 41 -#define FPOINT  265     /* any floating-point number */
 42 -#define WSPACE  266     /* [ \t]+ detected */
 43 -#define IDENT   267     /* identifier found */
 44 -#define CONCAT  268     /* ## found */
 45 -#define MKSTR   269     /* # found */
 46 -#define ELLIPS  270     /* ... found */
 47 -
 48 -#define GOTNL   271
 49 -
5034 typedef unsigned char usch;
 5135 extern FILE *obuf;
<>52 -extern usch *yystr;
  36+extern char *yytext; /* XXX - only flex */
5337 extern usch *stringbuf;
 5438 
 5539 extern  int     trulvl;
     
 !
6852         usch *value;   
 6953 };
 7054 
<> 55+#define ROUND(x) (((x)+sizeof(ALIGNMENT)-1)& ~(sizeof(ALIGNMENT)-1))
  56+
7157 /* buffer used internally */
 7258 #ifndef CPPBUF
<>73 -#if 0
7459 #define CPPBUF  BUFSIZ
<>75 -#else
 76 -#define CPPBUF  65536
7760 #endif
<>78 -#endif
7961 
 8062 #define NAMEMAX 64 /* max len of identifier */
<>81 -
 82 -#ifdef ragge
 83 -/* definition for include file info */
 84 -struct includ {
 85 -        struct includ *next;
 86 -        char *fname;
 87 -        int lineno;
 88 -        int infil;
 89 -        usch *curptr;
 90 -        usch *maxread;
 91 -        usch *ostr;
 92 -        usch *buffer;
 93 -        usch bbuf[NAMEMAX+CPPBUF+1];
 94 -} *ifiles;
 95 -#endif
 96 -
 97 -#define ROUND(x) (((x)+sizeof(ALIGNMENT)-1)& ~(sizeof(ALIGNMENT)-1))
 98 -
 99 -#ifdef ragge
10063 struct recur;   /* not used outside cpp.c */
<>101 -usch *subst(struct symtab *, struct recur *);
 102 -void scanover(struct includ *);
 103 -int inch(struct includ *);
 104 -void outch(int);
 105 -void unch(struct includ *, int);
 106 -#else
 107 -struct recur;   /* not used outside cpp.c */
 108 -int subst(char *, struct symtab *, struct recur *);
 109 -#endif
  64+int subst(struct symtab *, struct recur *);
11065 struct symtab *lookup(char *namep, int enterf);
<> 66+void gotident(struct symtab *nl);
  67+int slow;       /* scan slowly for new tokens */
11168 
 11269 int pushfile(char *fname);
 11370 void popfile(void);
     
 !
12683 void savch(int c);
 12784 void mainscan(void);
 12885 void putch(int);
<_ 86+void putstr(usch *s);
  87+
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-09-30 17:54 +0200