Quotearg part 3: add flag to control outer quote elision.
authorEric Blake <ebb9@byu.net>
Thu, 7 Feb 2008 23:44:01 +0000 (16:44 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 13 Feb 2008 01:42:54 +0000 (18:42 -0700)
commit74dd1966a5db708c66201bf952976ef27bd33e7e
tree77ce40a22b4f107d997913c330fe76177ccca848
parent71e66c91f3e83d361242fabfb41155e38114369d
Quotearg part 3: add flag to control outer quote elision.

* lib/quotearg.h (c_maybe_quoting_style): New style.
(enum quoting_flags): Better documentation of flags.
* lib/quotearg.c (quoting_style_args, quoting_style_vals): Add
c-maybe style.
(quotearg_buffer_restyled): Handle new flag to elide outer
quotes.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/quotearg.c
lib/quotearg.h