Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.19
 
1.20
 
MAIN:ragge:20061007091725
 
cpp.h
_>3232 #include "../../config.h"
 3333 
 3434 typedef unsigned char usch;
<>35 -extern FILE *obuf;
3635 extern char *yytext; /* XXX - only flex */
 3736 extern usch *stringbuf;
 3837 
     
 !
4645 #define FIND    0
 4746 #define ENTER   1
 4847 
<> 48+/* buffer used internally */
  49+#ifndef CPPBUF
  50+#define CPPBUF  BUFSIZ
  51+#endif
  52+
  53+#define NAMEMAX 64 /* max len of identifier */
  54+
  55+/* definition for include file info */
  56+struct includ {
  57+        struct includ *next;
  58+        char *fname;
  59+        int lineno;
  60+        int infil;
  61+        usch *curptr;
  62+        usch *maxread;
  63+        usch *buffer;
  64+        usch bbuf[NAMEMAX+CPPBUF+1];
  65+} *ifiles;
  66+
4967 /* Symbol table entry  */
 5068 struct symtab {
 5169         usch *namep;   
     
 !
5472 
 5573 #define ROUND(x) (((x)+sizeof(ALIGNMENT)-1)& ~(sizeof(ALIGNMENT)-1))
 5674 
<>57 -/* buffer used internally */
 58 -#ifndef CPPBUF
 59 -#define CPPBUF  BUFSIZ
 60 -#endif
 61 -
 62 -#define NAMEMAX 64 /* max len of identifier */
6375 struct recur;   /* not used outside cpp.c */
 6476 int subst(struct symtab *, struct recur *);
 6577 struct symtab *lookup(char *namep, int enterf);
<>66 -void gotident(struct symtab *nl);
  78+usch *gotident(struct symtab *nl);
6779 int slow;       /* scan slowly for new tokens */
 6880 
 6981 int pushfile(char *fname);
 7082 void popfile(void);
<>71 -void error(char *s, ...);
7283 void prtline(void);
 7384 int yylex(void);
 7485 void cunput(int);
     
 !
8495 void mainscan(void);
 8596 void putch(int);
 8697 void putstr(usch *s);
<_87 -
  98+void line(void);
  99+usch *num2str(int num);
  100+usch *sheap(char *fmt, ...);
  101+void xerror(usch *);
  102+#define error(...) xerror(sheap(__VA_ARGS__))
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-21 23:17 +0100