[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison proto files
From: |
Paul Eggert |
Subject: |
Re: bison proto files |
Date: |
Thu, 09 Mar 2006 15:23:55 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
twlevo <address@hidden> writes:
> .h files checked and oke.
> assoc.h char const *assoc_to_string (assoc a);
> location.h extern void location_print ( FILE *out, location loc);
> Thanks.
Thanks, I installed this:
2006-03-09 Paul Eggert <address@hidden>
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.
Index: src/assoc.h
===================================================================
RCS file: /cvsroot/bison/bison/src/assoc.h,v
retrieving revision 1.4
diff -p -u -r1.4 assoc.h
--- src/assoc.h 14 May 2005 06:49:47 -0000 1.4
+++ src/assoc.h 9 Mar 2006 23:21:12 -0000
@@ -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_ */
Index: src/location.h
===================================================================
RCS file: /cvsroot/bison/bison/src/location.h,v
retrieving revision 1.12
diff -p -u -r1.12 location.h
--- src/location.h 28 Dec 2005 08:51:34 -0000 1.12
+++ src/location.h 9 Mar 2006 23:21:12 -0000
@@ -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_ */
Index: src/reader.h
===================================================================
RCS file: /cvsroot/bison/bison/src/reader.h,v
retrieving revision 1.48
diff -p -u -r1.48 reader.h
--- src/reader.h 30 Jan 2006 07:25:59 -0000 1.48
+++ src/reader.h 9 Mar 2006 23:21:12 -0000
@@ -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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: bison proto files,
Paul Eggert <=