cp-tree.h (lvalue_or_else): Qualify a char* with the `const' keyword to match an analogous change at the...
* cp-tree.h (lvalue_or_else): Qualify a char* with the `const' keyword to match an analogous change at the top level. * tree.c (lvalue_or_else): Likewise. From-SVN: r25297
This commit is contained in:
parent
5d5993dd31
commit
834003f492
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
Thu Feb 18 23:40:01 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* cp-tree.h (lvalue_or_else): Qualify a char* with the `const'
|
||||
keyword to match an analogous change at the top level.
|
||||
|
||||
* tree.c (lvalue_or_else): Likewise.
|
||||
|
||||
1999-02-17 Mark Mitchell <mark@markmitchell.com>
|
||||
|
||||
* decl.c (xref_basetypes): Comment.
|
||||
|
|
|
@ -3245,7 +3245,7 @@ extern tree build_min PVPROTO((enum tree_code, tree, ...));
|
|||
extern tree build_min_nt PVPROTO((enum tree_code, ...));
|
||||
extern tree min_tree_cons PROTO((tree, tree, tree));
|
||||
extern int lvalue_p PROTO((tree));
|
||||
extern int lvalue_or_else PROTO((tree, char *));
|
||||
extern int lvalue_or_else PROTO((tree, const char *));
|
||||
extern tree build_cplus_new PROTO((tree, tree));
|
||||
extern tree get_target_expr PROTO((tree));
|
||||
extern tree break_out_cleanups PROTO((tree));
|
||||
|
|
|
@ -171,7 +171,7 @@ lvalue_p (ref)
|
|||
int
|
||||
lvalue_or_else (ref, string)
|
||||
tree ref;
|
||||
char *string;
|
||||
const char *string;
|
||||
{
|
||||
int win = lvalue_p (ref);
|
||||
if (! win)
|
||||
|
|
Loading…
Add table
Reference in a new issue