Const poision yyerror.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15960 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -49,7 +49,7 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
static Type *new_type (Typetype t);
|
static Type *new_type (Typetype t);
|
||||||
static Type *new_tag(int tagclass, int tagvalue, int tagenv, Type *oldtype);
|
static Type *new_tag(int tagclass, int tagvalue, int tagenv, Type *oldtype);
|
||||||
void yyerror (char *);
|
void yyerror (const char *);
|
||||||
static struct objid *new_objid(const char *label, int value);
|
static struct objid *new_objid(const char *label, int value);
|
||||||
static void add_oid_to_tail(struct objid *, struct objid *);
|
static void add_oid_to_tail(struct objid *, struct objid *);
|
||||||
static void fix_labels(Symbol *s);
|
static void fix_labels(Symbol *s);
|
||||||
@@ -810,7 +810,7 @@ ObjectIdentifierValue: objid
|
|||||||
%%
|
%%
|
||||||
|
|
||||||
void
|
void
|
||||||
yyerror (char *s)
|
yyerror (const char *s)
|
||||||
{
|
{
|
||||||
error_message ("%s\n", s);
|
error_message ("%s\n", s);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user