From fab5b110fb6f6ce81a10818537f491b0fa524ba5 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 3 Jan 2002 09:55:33 +0000 Subject: [PATCH] * lib/quotearg.c: Use `#include "..."' instead of `#include <...>' for non system headers. --- ChangeLog | 13 +++++++++---- lib/quote.c | 21 +++++++++++++++++++-- lib/quote.h | 18 +++++++++++++++++- lib/quotearg.c | 4 ++-- 4 files changed, 47 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index b71d8909..85a7a9f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-01-03 Akim Demaille + + * lib/quotearg.c: Use `#include "..."' instead of `#include <...>' + for non system headers. + 2002-01-02 Akim Demaille Equip the skeleton chain with location tracking, runtime trace, @@ -21,7 +26,7 @@ replace `gb' with BLANKS. * src/scan-skel.l: Adjust. - + 2001-12-30 Akim Demaille * src/system.h: We don't need nor want bcopy. @@ -35,7 +40,7 @@ Be sure to initialize yylval.muscle member when scanning a MUSCLE. * src/parse-skel.y: Use %directives instead of #defines. - + 2001-12-30 Akim Demaille * src/skeleton.h: New. @@ -77,7 +82,7 @@ functions are used in the skeleton parser. (tab_extension): New. (compute_base_names): Use the computations done in this function - to guess if the generated parsers should have '.tab' in their + to guess if the generated parsers should have '.tab' in their names. (short_base_name): No longer static. @@ -89,7 +94,7 @@ * configure.in: Use AM_PROG_LEX and AC_PROG_YACC. - * src/Makefile.am (bison_SOURCES): Add scan-skel.l and + * src/Makefile.am (bison_SOURCES): Add scan-skel.l and parse-skel.y. * src/parse-skel.y: New file. diff --git a/lib/quote.c b/lib/quote.c index 0ce935cb..3cbc0805 100644 --- a/lib/quote.c +++ b/lib/quote.c @@ -1,3 +1,20 @@ +/* quote.c - quote arguments for output + Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + /* Written by Paul Eggert */ #if HAVE_CONFIG_H @@ -8,8 +25,8 @@ # include /* For the definition of size_t on windows w/MSVC. */ #endif #include -#include -#include +#include "quotearg.h" +#include "quote.h" /* Return an unambiguous printable representated, allocated in slot N, for NAME, suitable for diagnostics. */ diff --git a/lib/quote.h b/lib/quote.h index 5de896bd..c750b1e7 100644 --- a/lib/quote.h +++ b/lib/quote.h @@ -1,4 +1,20 @@ -/* prototypes for quote.c */ +/* quote.h - prototypes for quote.c + Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifndef PARAMS # if defined PROTOTYPES || (defined __STDC__ && __STDC__) diff --git a/lib/quotearg.c b/lib/quotearg.c index 58df4e2e..a32bf533 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -25,8 +25,8 @@ # include /* For the definition of size_t on windows w/MSVC. */ #endif #include -#include -#include +#include "quotearg.h" +#include "xalloc.h" #include -- 2.45.2