out.c
上传用户:upcnvip
上传日期:2007-01-06
资源大小:474k
文件大小:33k
- /* "p2c", a Pascal to C translator.
- Copyright (C) 1989 David Gillespie.
- Author's address: daveg@csvax.caltech.edu; 256-80 Caltech/Pasadena CA 91125.
- 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 (any 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; see the file COPYING. If not, write to
- the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
- /* This needs to go before trans.h (and thus p2c.proto) is read */
- typedef struct S_paren {
- struct S_paren *next;
- int pos, indent, qmindent, flags;
- } Paren;
- #define PROTO_OUT_C
- #include "trans.h"
- #ifndef USETIME
- # if defined(BSD) || defined(hpux)
- # define USETIME 1
- # else
- # define USETIME 0
- # endif
- #endif
- #if USETIME
- # include <sys/time.h>
- #else
- # include <time.h>
- #endif
- /* Output control characters:
-