1 /**************************************************************************
2 * common.c -- common utilities and support routines for the parser
4 * Written by Curtis Olson, started May 1997.
7 * (Log is kept at end of this file)
8 **************************************************************************/
14 /* strip the enclosing quotes from a string, works within the current
15 string and thus is destructive. "hello" ==> hello */
16 char *strip_quotes(char *s) {
19 /* strip first character */
22 /* toast last character */
31 /* Revision 1.1 1997/05/16 16:07:03 curt