* Francesco Potorti` (pot@gnu.org) is the current maintainer.
*/
-char pot_etags_version[] = "@(#) pot revision number is 13.31";
+char pot_etags_version[] = "@(#) pot revision number is 13.33";
#define TRUE 1
#define FALSE 0
-#define _GNU_SOURCE /* enables some compiler checks on GNU */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE /* enables some compiler checks on GNU */
+#endif
#ifndef DEBUG
# define DEBUG FALSE
#endif
case 'o':
if (tagfile)
{
- error ("-%c option may only be given once.", opt);
+ error ("-o option may only be given once.", (char *)NULL);
suggest_asking_for_help ();
}
tagfile = optarg;
if (nincluded_files == 0 && file_count == 0)
{
- error ("no input files specified.", 0);
+ error ("no input files specified.", (char *)NULL);
suggest_asking_for_help ();
}
lp += 2;
toklen += 2;
c = lp[-1];
- goto intoken;
+ goto intok;
}
else
{
}
} /* if (endtoken (c)) */
else if (intoken (c))
- intoken:
+ intok:
{
toklen++;
continue;
* look for (set! xyzzy
*/
-void get_scheme ();
-
void
Scheme_functions (inf)
FILE *inf;
register char *fn;
{
#ifdef DOS_NT
+ /* Canonicalize drive letter case. */
+ if (islower (fn[0]))
+ fn[0] = toupper (fn[0]);
/* Convert backslashes to slashes. */
for (; *fn != '\0'; fn++)
if (*fn == '\\')
*fn = '/';
- /* Canonicalize drive letter case. */
- if (islower (path[0]))
- path[0] = toupper (path[0]);
#else
/* No action. */
fn = NULL; /* shut up the compiler */