Mercurial > hg > octave-jordi > gnulib-hg
comparison lib/getdate.y @ 101:40a78c8d27fd
merge with 1.8.1a
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 04 Oct 1993 21:20:39 +0000 |
parents | 4d645beabfa4 |
children | 9007b78daafc |
comparison
equal
deleted
inserted
replaced
100:4d645beabfa4 | 101:40a78c8d27fd |
---|---|
12 */ | 12 */ |
13 /* SUPPRESS 287 on yaccpar_sccsid *//* Unusd static variable */ | 13 /* SUPPRESS 287 on yaccpar_sccsid *//* Unusd static variable */ |
14 /* SUPPRESS 288 on yyerrlab *//* Label unused */ | 14 /* SUPPRESS 288 on yyerrlab *//* Label unused */ |
15 | 15 |
16 #ifdef HAVE_CONFIG_H | 16 #ifdef HAVE_CONFIG_H |
17 #if defined (emacs) || defined (CONFIG_BROKETS) | |
18 #include <config.h> | |
19 #else | |
17 #include "config.h" | 20 #include "config.h" |
21 #endif | |
18 #endif | 22 #endif |
19 | 23 |
20 /* Since the code of getdate.y is not included in the Emacs executable | 24 /* Since the code of getdate.y is not included in the Emacs executable |
21 itself, there is no need to #define static in this file. Even if | 25 itself, there is no need to #define static in this file. Even if |
22 the code were included in the Emacs executable, it probably | 26 the code were included in the Emacs executable, it probably |
113 static int yylex (); | 117 static int yylex (); |
114 static int yyerror (); | 118 static int yyerror (); |
115 | 119 |
116 #if !defined(lint) && !defined(SABER) | 120 #if !defined(lint) && !defined(SABER) |
117 static char RCS[] = | 121 static char RCS[] = |
118 "$Header: str2date.y,v 2.1 90/09/06 08:15:06 cronan Exp $"; | 122 "$Header: /w/src/cvsroot/shellutils/lib/getdate.y,v 1.5 1993/09/08 18:23:16 meyering Exp $"; |
119 #endif /* !defined(lint) && !defined(SABER) */ | 123 #endif /* !defined(lint) && !defined(SABER) */ |
120 | 124 |
121 | 125 |
122 #define EPOCH 1970 | 126 #define EPOCH 1970 |
123 #define HOUR(x) ((time_t)(x) * 60) | 127 #define HOUR(x) ((time_t)(x) * 60) |