Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.42
 
1.43
 
MAIN:ragge:20100225154900
 
cpp.h
_>7070 /* definition for include file info */
 7171 struct includ {
 7272         struct includ *next;
<>73 -        usch *fname;    /* current fn, changed if #line found */
 74 -        usch *orgfn;    /* current fn, not changed */
  73+        const usch *fname;      /* current fn, changed if #line found */
  74+        const usch *orgfn;      /* current fn, not changed */
7575         int lineno;
 7676         int infil;
 7777         usch *curptr;
     
 !
8080         usch *buffer;
 8181         int idx;
 8282         void *incs;
<>83 -        usch *fn;
  83+        const usch *fn;
8484         usch bbuf[NAMEMAX+CPPBUF+1];
 8585 } *ifiles;
 8686 
 8787 /* Symbol table entry  */
 8888 struct symtab {
<>89 -        usch *namep;   
 90 -        usch *value;   
 91 -        usch *file;
  89+        const usch *namep;   
  90+        const usch *value;   
  91+        const usch *file;
9292         int line;
 9393 };
 9494 
     
 !
117117 
 118118 struct recur;   /* not used outside cpp.c */
 119119 int subst(struct symtab *, struct recur *);
<>120 -struct symtab *lookup(usch *namep, int enterf);
  120+struct symtab *lookup(const usch *namep, int enterf);
121121 usch *gotident(struct symtab *nl);
 122122 int slow;       /* scan slowly for new tokens */
 123123 
<>124 -int pushfile(usch *fname, usch *fn, int idx, void *incs);
  124+int pushfile(const usch *fname, const usch *fn, int idx, void *incs);
125125 void popfile(void);
 126126 void prtline(void);
 127127 int yylex(void);
     
 !
132132 void setline(int);
 133133 void setfile(char *);
 134134 int yyparse(void);
<>135 -void yyerror(char *);
 136 -void unpstr(usch *);
 137 -usch *savstr(usch *str);
  135+void yyerror(const char *);
  136+void unpstr(const usch *);
  137+usch *savstr(const usch *str);
138138 void savch(int c);
 139139 void mainscan(void);
 140140 void putch(int);
<>141 -void putstr(usch *s);
  141+void putstr(const usch *s);
142142 void line(void);
<>143 -usch *sheap(char *fmt, ...);
  143+usch *sheap(const char *fmt, ...);
<_144144 void xwarning(usch *);
 145145 void xerror(usch *);
 146146 #ifdef HAVE_CPP_VARARG_MACRO_GCC
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-01 23:00 +0200