mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 04:43:03 +00:00
Fix two nits reported by twlevo, plus one more that I discovered.
* src/assoc.h (assoc_to_string): Give a name to the arg, as this is the usual Bison style. * src/location.h (location_print): Likewise. * src/reader.h (token_name): Likewise.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
||||
2006-03-09 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Fix two nits reported by twlevo, plus one more that I discovered.
|
||||
|
||||
* src/assoc.h (assoc_to_string): Give a name to the arg, as
|
||||
this is the usual Bison style.
|
||||
* src/location.h (location_print): Likewise.
|
||||
|
||||
* src/reader.h (token_name): Likewise.
|
||||
|
||||
2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Fix some nits reported by twlevo.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Associativity information.
|
||||
Copyright (C) 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Bison, the GNU Compiler Compiler.
|
||||
|
||||
@@ -30,6 +30,6 @@ typedef enum
|
||||
non_assoc
|
||||
} assoc;
|
||||
|
||||
char const *assoc_to_string (assoc);
|
||||
char const *assoc_to_string (assoc a);
|
||||
|
||||
#endif /* !ASSOC_H_ */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Locations for Bison
|
||||
Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Bison, the GNU Compiler Compiler.
|
||||
|
||||
@@ -64,6 +64,6 @@ typedef struct
|
||||
|
||||
extern location const empty_location;
|
||||
|
||||
void location_print (FILE *, location);
|
||||
void location_print (FILE *out, location loc);
|
||||
|
||||
#endif /* ! defined LOCATION_H_ */
|
||||
|
||||
@@ -58,7 +58,7 @@ YY_DECL;
|
||||
/* From the parser. */
|
||||
extern int gram_debug;
|
||||
int gram_parse (void);
|
||||
char const *token_name (int);
|
||||
char const *token_name (int type);
|
||||
|
||||
|
||||
/* From reader.c. */
|
||||
|
||||
Reference in New Issue
Block a user