mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Remove newline from default --delimiters.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user