1 |
/* VCG description handler for Bison. |
/* VCG description handler for Bison. |
2 |
Copyright 2001 Free Software Foundation, Inc. |
Copyright 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of Bison, the GNU Compiler Compiler. |
This file is part of Bison, the GNU Compiler Compiler. |
5 |
|
|
23 |
#include "vcg_defaults.h" |
#include "vcg_defaults.h" |
24 |
#include "quotearg.h" |
#include "quotearg.h" |
25 |
|
|
26 |
/* Return an unambiguous printable representated, allocated in slot 0, |
/* Return an unambiguous printable representated, for NAME, suitable |
27 |
for NAME, suitable for C strings. */ |
for C strings. Use slot 2 since the user may use slots 0 and 1. |
28 |
|
*/ |
29 |
|
|
30 |
static char const * |
static char const * |
31 |
quote (char const *name) |
quote (char const *name) |
32 |
{ |
{ |
33 |
return quotearg_n_style (0, c_quoting_style, name); |
return quotearg_n_style (2, c_quoting_style, name); |
34 |
} |
} |
35 |
|
|
36 |
|
|