/[bison]/bison/lib/quotearg.h
ViewVC logotype

Diff of /bison/lib/quotearg.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by akim, Fri Nov 30 14:04:24 2001 UTC revision 1.3 by akim, Tue Jul 9 16:24:57 2002 UTC
# Line 17  Line 17 
17    
18  /* Written by Paul Eggert <eggert@twinsun.com> */  /* Written by Paul Eggert <eggert@twinsun.com> */
19    
20    #ifndef QUOTEARG_H_
21    # define QUOTEARG_H_ 1
22    
23  /* Basic quoting styles.  */  /* Basic quoting styles.  */
24  enum quoting_style  enum quoting_style
25    {    {
# Line 30  enum quoting_style Line 33  enum quoting_style
33    };    };
34    
35  /* For now, --quoting-style=literal is the default, but this may change.  */  /* For now, --quoting-style=literal is the default, but this may change.  */
36  #ifndef DEFAULT_QUOTING_STYLE  # ifndef DEFAULT_QUOTING_STYLE
37  # define DEFAULT_QUOTING_STYLE literal_quoting_style  #  define DEFAULT_QUOTING_STYLE literal_quoting_style
38  #endif  # endif
39    
40  /* Names of quoting styles and their corresponding values.  */  /* Names of quoting styles and their corresponding values.  */
41  extern char const *const quoting_style_args[];  extern char const *const quoting_style_args[];
# Line 40  extern enum quoting_style const quoting_ Line 43  extern enum quoting_style const quoting_
43    
44  struct quoting_options;  struct quoting_options;
45    
46  #ifndef PARAMS  # ifndef PARAMS
47  # if defined PROTOTYPES || defined __STDC__  #  if defined PROTOTYPES || defined __STDC__
48  #  define PARAMS(Args) Args  #   define PARAMS(Args) Args
49  # else  #  else
50  #  define PARAMS(Args) ()  #   define PARAMS(Args) ()
51    #  endif
52  # endif  # endif
 #endif  
53    
54  /* The functions listed below set and use a hidden variable  /* The functions listed below set and use a hidden variable
55     that contains the default quoting style options.  */     that contains the default quoting style options.  */
# Line 107  char *quotearg_char PARAMS ((char const Line 110  char *quotearg_char PARAMS ((char const
110    
111  /* Equivalent to quotearg_char (ARG, ':').  */  /* Equivalent to quotearg_char (ARG, ':').  */
112  char *quotearg_colon PARAMS ((char const *arg));  char *quotearg_colon PARAMS ((char const *arg));
113    
114    #endif /* !QUOTEARG_H_ */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26