Skip to content

Commit

Permalink
change PACKAGE_COPYRIGHT_YEAR from string to int
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/winflexbison/code/trunk@35 da3578c4-ce5d-4d2c-aa0c-bbd0a991affc
  • Loading branch information
lexxmark committed Dec 25, 2012
1 parent d26374e commit 6c66d35
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Binary file modified bin/Release/win_bison.exe
Binary file not shown.
Binary file modified bin/Release/win_flex.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion bison/src/config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define PACKAGE_BUGREPORT "http://sourceforge.net/p/winflexbison/tickets"
#define VERSION "2.7"
#define PACKAGE_COPYRIGHT_YEAR "2012"
#define PACKAGE_COPYRIGHT_YEAR 2012
#define LOCALEDIR ""
#define PACKAGE_STRING "bison"
#define PACKAGE_URL "http://sourceforge.net/projects/winflexbison/"
Expand Down
16 changes: 8 additions & 8 deletions common/misc/getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ extern char *__getopt_nonoption_flags;
# define SWAP_FLAGS(ch1, ch2)
#endif /* _LIBC */

void getopt_init()
{
optarg = NULL;
optind = 1;
opterr = 1;
optopt = '?';
memset(&getopt_data, 0, sizeof(getopt_data));
}
void getopt_init()
{
optarg = NULL;
optind = 1;
opterr = 1;
optopt = '?';
memset(&getopt_data, 0, sizeof(getopt_data));
}

/* Exchange two adjacent subsequences of ARGV.
One subsequence is elements [first_nonopt,last_nonopt)
Expand Down

0 comments on commit 6c66d35

Please sign in to comment.