blob: 80db8eaf082706bc22be6d0e2bd3bddd73601780 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/posixtm.y.orig 2000-07-22 06:13:16 UTC
+++ src/posixtm.y
@@ -40,6 +40,11 @@ char *alloca ();
#include <time.h>
#define YYDEBUG 1
+#define yychar yychar_posixtm
+#define yyerrflag yyerrflag_posixtm
+#define yylval yylval_posixtm
+#define yynerrs yynerrs_posixtm
+#define yyval yyval_posixtm
/* Lexical analyzer's current scan position in the input string. */
static char *curpos;
@@ -85,6 +90,7 @@ date :
YYABORT;
}
}
+ ;
year : digitpair {
t.tm_year = $1;
|