X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e186a284863938a406f562630a3bdc48737a664a..4b7a4c1b1c8c18e9ad2517c117442b9b7d7e671a:/src/getargs.h?ds=sidebyside diff --git a/src/getargs.h b/src/getargs.h index 8d27e717..b3a2a9b2 100644 --- a/src/getargs.h +++ b/src/getargs.h @@ -1,7 +1,7 @@ /* Parse command line arguments for bison. Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -106,6 +106,8 @@ enum trace trace_time = 1 << 8, /**< Time consumption. */ trace_skeleton = 1 << 9, /**< Skeleton postprocessing. */ trace_m4 = 1 << 10, /**< M4 traces. */ + trace_muscles = 1 << 11, /**< M4 definitions of the muscles. */ + trace_ielr = 1 << 12, /**< IELR conversion. */ trace_all = ~0 /**< All of the above. */ }; /** What debug items bison displays during its run. */ @@ -138,4 +140,7 @@ void getargs (int argc, char *argv[]); void language_argmatch (char const *arg, int prio, location loc); void skeleton_arg (const char *arg, int prio, location loc); +/** In the string \c s, replace all characters \c from by \c to. */ +void tr (char *s, char from, char to); + #endif /* !GETARGS_H_ */