summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.cfg2
-rw-r--r--README-alpha2
-rw-r--r--TODO2
-rw-r--r--doc/idutils.texi2
-rw-r--r--libidu/scanners.c30
-rw-r--r--src/Makefile.am2
-rw-r--r--src/fid.c4
-rw-r--r--src/lid.c2
8 files changed, 23 insertions, 23 deletions
diff --git a/Makefile.cfg b/Makefile.cfg
index 1abec60..c6a1943 100644
--- a/Makefile.cfg
+++ b/Makefile.cfg
@@ -33,7 +33,7 @@ gpg_key_ID = B9AB9A16
# at the top of the file for each `make distcheck' run.
local-checks-to-skip = changelog-check strftime-check patch-check \
sc_prohibit_atoi_atof sc_changelog sc_tight_scope \
- sc_trailing_blank check-AUTHORS
+ check-AUTHORS
# The local directory containing the checked-out copy of gnulib used in
# this release. Used solely to get a date for the "announcement" target.
diff --git a/README-alpha b/README-alpha
index e4d0e54..9018b92 100644
--- a/README-alpha
+++ b/README-alpha
@@ -4,7 +4,7 @@ idutils README-alpha
Portability problems might remain.
* Please report your successes/problems along with your operating system,
- compiler, and possibly other relevant information.
+ compiler, and possibly other relevant information.
x86, GNU/Linux Slackware 10.1: success
x86, FreeBSD 4.8: success
diff --git a/TODO b/TODO
index 56f442f..174775e 100644
--- a/TODO
+++ b/TODO
@@ -11,7 +11,7 @@ idutils TODO - from Claudio Fontana
- investigate possible problems with signed/unsigned comparisons
and data types (task #4909)
- xemacs support (task #5702)
-
+
idutils TODO - Future directions from previous maintainers
* General
diff --git a/doc/idutils.texi b/doc/idutils.texi
index 630836a..43c6e12 100644
--- a/doc/idutils.texi
+++ b/doc/idutils.texi
@@ -711,7 +711,7 @@ them as token delimiters.
@cindex perl scanner
(EXPERIMENTAL)
-The perl scanner is intended for perl-language documents. Tokens are all
+The perl scanner is intended for perl-language documents. Tokens are all
words, Perl Keywords are included. Comments & string declarations are
ignored, as well as the documentation. It is customizable to the extent
that character classes can be designated as token constituents or as
diff --git a/libidu/scanners.c b/libidu/scanners.c
index 9efe16f..98343c4 100644
--- a/libidu/scanners.c
+++ b/libidu/scanners.c
@@ -333,8 +333,8 @@ clear_ushort_ctype (unsigned short *ctype, char const *chars, int type)
static void
set_uchar_ctype (unsigned char *ctype, char const *chars, int type)
{
- unsigned char *rct;
- unsigned char const *uc;
+ unsigned char *rct;
+ unsigned char const *uc;
rct = &ctype[1];
uc = (unsigned char const *) chars;
@@ -1400,7 +1400,7 @@ get_token_perl (FILE *in_FILE, void const *args, int *flags)
obstack_blank (&tokens_obstack, OFFSETOF_TOKEN_NAME);
-top:
+top:
c = getc (in_FILE);
while (ISBORING (c))
c = getc (in_FILE);
@@ -1447,7 +1447,7 @@ top:
}
break;
- default:
+ default:
if (ISEOF (c))
{
new_line = 1;
@@ -1500,7 +1500,7 @@ top:
{
skip_doc = 0;
}
- else
+ else
{
state |= EQ; /* documentation = 1; */
}
@@ -1606,7 +1606,7 @@ get_token_lisp (FILE *in_FILE, void const *args, int *flags)
int c;
obstack_blank (&tokens_obstack, OFFSETOF_TOKEN_NAME);
-
+
top:
c = getc (in_FILE);
recheck:
@@ -1615,23 +1615,23 @@ get_token_lisp (FILE *in_FILE, void const *args, int *flags)
case EOF:
obstack_free (&tokens_obstack, obstack_finish (&tokens_obstack));
return 0;
-
+
case '(': case ')':
case '\'': case '`': /* quote, quasiquote */
goto top;
-
+
case ',': /* unquote */
c = getc (in_FILE);
if (c == '@') /* unquote-splicing */
goto top;
goto recheck;
-
+
case ';': /* comment */
do {
c = getc (in_FILE);
} while ( (c != EOF) && (c != '\n'));
goto top;
-
+
case '"': /* string with/without ansi-C escapes*/
string:
do {
@@ -1667,11 +1667,11 @@ get_token_lisp (FILE *in_FILE, void const *args, int *flags)
if (c != EOF)
ungetc (c, in_FILE);
goto ident;
-
+
case '#':
id = scanner_buffer;
*id++ = c;
-
+
c = getc (in_FILE);
if (c == EOF)
goto top;
@@ -1732,12 +1732,12 @@ get_token_lisp (FILE *in_FILE, void const *args, int *flags)
goto top;
/* Ignore invalide #-construct */
goto top;
-
+
case '[': case ']': /* EMACS vector aka # (...) in Scheme */
/* EMACS vector object vs Kawa ident */
/* rational: Kawa ident could not start with [ nor with ] */
goto top;
-
+
default:
if (is_IDENT1 (c))
{
@@ -1785,7 +1785,7 @@ get_token_lisp (FILE *in_FILE, void const *args, int *flags)
}
}
goto top;
-
+
}
#undef DG
#undef LT
diff --git a/src/Makefile.am b/src/Makefile.am
index 0ee6be4..953c73a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,4 +9,4 @@ AM_CPPFLAGS = -I$(top_builddir)/intl \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DLANGUAGE_MAP_FILE=\"$(datadir)/id-lang.map\"
-LDADD = ../libidu/libidu.a ../lib/libgnu.a $(LIBINTL) ../lib/libgnu.a
+LDADD = ../libidu/libidu.a ../lib/libgnu.a $(LIBINTL) ../lib/libgnu.a
diff --git a/src/fid.c b/src/fid.c
index 9a5c63c..9ef2b2f 100644
--- a/src/fid.c
+++ b/src/fid.c
@@ -102,7 +102,7 @@ main (int argc, char **argv)
program_name = argv[0];
idh.idh_file_name = 0;
-
+
#if ENABLE_NLS
/* Set locale according to user's wishes. */
@@ -184,7 +184,7 @@ main (int argc, char **argv)
int count = 0;
int i;
int separator = (isatty (STDOUT_FILENO) ? ' ' : '\n');
-
+
for (i = 0; i < idh.idh_tokens; i++)
{
unsigned char const *hits;
diff --git a/src/lid.c b/src/lid.c
index b63a108..df0add4 100644
--- a/src/lid.c
+++ b/src/lid.c
@@ -747,7 +747,7 @@ editit:
int i;
char **argv = xmalloc (sizeof(char *) *
(editor_argc + 2 + vector_cardinality (flinkv)));
-
+
for (i = 0; i < editor_argc; i++)
argv[i] = editor_argv[i];