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:
@@ -1,5 +1,10 @@
|
|||||||
2002-11-16 Bruno Haible <bruno@clisp.org>
|
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
|
* doc/gperf.texi: Move description of option -l from section
|
||||||
Algorithmic Details to section Output Details.
|
Algorithmic Details to section Output Details.
|
||||||
* src/options.cc (Options::long_usage): Likewise.
|
* src/options.cc (Options::long_usage): Likewise.
|
||||||
|
|||||||
@@ -577,7 +577,7 @@ or if it is @samp{-}.
|
|||||||
@itemx --delimiters=@var{keyword-delimiter-list}
|
@itemx --delimiters=@var{keyword-delimiter-list}
|
||||||
@cindex Delimiters
|
@cindex Delimiters
|
||||||
Allows the user to provide a string containing delimiters used to
|
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
|
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
|
commas or newlines. One useful trick is to use -e'TAB', where TAB is
|
||||||
the literal tab character.
|
the literal tab character.
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ static const char *const DEFAULT_HASH_NAME = "hash";
|
|||||||
static const char *const DEFAULT_WORDLIST_NAME = "wordlist";
|
static const char *const DEFAULT_WORDLIST_NAME = "wordlist";
|
||||||
|
|
||||||
/* Default delimiters that separate keywords from their attributes. */
|
/* 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. */
|
/* Prints program usage to given stream. */
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ Options::long_usage (FILE * stream) const
|
|||||||
" -e, --delimiters=DELIMITER-LIST\n"
|
" -e, --delimiters=DELIMITER-LIST\n"
|
||||||
" Allow user to provide a string containing delimiters\n"
|
" Allow user to provide a string containing delimiters\n"
|
||||||
" used to separate keywords from their attributes.\n"
|
" used to separate keywords from their attributes.\n"
|
||||||
" Default is \",\\n\".\n");
|
" Default is \",\".\n");
|
||||||
fprintf (stream,
|
fprintf (stream,
|
||||||
" -t, --struct-type Allows the user to include a structured type\n"
|
" -t, --struct-type Allows the user to include a structured type\n"
|
||||||
" declaration for generated code. Any text before %%%%\n"
|
" declaration for generated code. Any text before %%%%\n"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Input file interpretation:
|
|||||||
-e, --delimiters=DELIMITER-LIST
|
-e, --delimiters=DELIMITER-LIST
|
||||||
Allow user to provide a string containing delimiters
|
Allow user to provide a string containing delimiters
|
||||||
used to separate keywords from their attributes.
|
used to separate keywords from their attributes.
|
||||||
Default is ",\n".
|
Default is ",".
|
||||||
-t, --struct-type Allows the user to include a structured type
|
-t, --struct-type Allows the user to include a structured type
|
||||||
declaration for generated code. Any text before %%
|
declaration for generated code. Any text before %%
|
||||||
is considered part of the type declaration. Key
|
is considered part of the type declaration. Key
|
||||||
|
|||||||
Reference in New Issue
Block a user