diff options
-rw-r--r-- | Makefile.cfg | 2 | ||||
-rw-r--r-- | README-alpha | 2 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | doc/idutils.texi | 2 | ||||
-rw-r--r-- | libidu/scanners.c | 30 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/fid.c | 4 | ||||
-rw-r--r-- | src/lid.c | 2 |
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 @@ -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 @@ -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; @@ -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]; |