1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Remove newline from default --delimiters.

This commit is contained in:
Bruno Haible
2003-01-30 12:43:30 +00:00
parent 3aff1fd64f
commit b0faccc7ef
4 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,10 @@
2002-11-16 Bruno Haible <bruno@clisp.org>
* src/options.cc (DEFAULT_DELIMITERS): Remove newline.
* src/options.cc (Options::long_usage): Change default --delimiters.
* doc/gperf.texi (Input Details): Likewise.
* tests/test-6.exp: Update.
* doc/gperf.texi: Move description of option -l from section
Algorithmic Details to section Output Details.
* src/options.cc (Options::long_usage): Likewise.

View File

@@ -577,7 +577,7 @@ or if it is @samp{-}.
@itemx --delimiters=@var{keyword-delimiter-list}
@cindex Delimiters
Allows the user to provide a string containing delimiters used to
separate keywords from their attributes. The default is ",\n". This
separate keywords from their attributes. The default is ",". This
option is essential if you want to use keywords that have embedded
commas or newlines. One useful trick is to use -e'TAB', where TAB is
the literal tab character.

View File

@@ -59,7 +59,7 @@ static const char *const DEFAULT_HASH_NAME = "hash";
static const char *const DEFAULT_WORDLIST_NAME = "wordlist";
/* Default delimiters that separate keywords from their attributes. */
static const char *const DEFAULT_DELIMITERS = ",\n";
static const char *const DEFAULT_DELIMITERS = ",";
/* Prints program usage to given stream. */
@@ -99,7 +99,7 @@ Options::long_usage (FILE * stream) const
" -e, --delimiters=DELIMITER-LIST\n"
" Allow user to provide a string containing delimiters\n"
" used to separate keywords from their attributes.\n"
" Default is \",\\n\".\n");
" Default is \",\".\n");
fprintf (stream,
" -t, --struct-type Allows the user to include a structured type\n"
" declaration for generated code. Any text before %%%%\n"

View File

@@ -14,7 +14,7 @@ Input file interpretation:
-e, --delimiters=DELIMITER-LIST
Allow user to provide a string containing delimiters
used to separate keywords from their attributes.
Default is ",\n".
Default is ",".
-t, --struct-type Allows the user to include a structured type
declaration for generated code. Any text before %%
is considered part of the type declaration. Key