header block fixes

This commit is contained in:
Bill Currie 2001-12-08 20:40:50 +00:00
parent 00b2a45ecd
commit e976211faf
11 changed files with 192 additions and 4 deletions

View file

@ -27,6 +27,6 @@
Boston, MA 02111-1307, USA
*/
static const char rcsid[] =
static const char rcsid[] =
"$Id$";

View file

@ -15,6 +15,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
See file, 'COPYING', for details.
$Id$
*/
// cmdlib.h

View file

@ -1,3 +1,37 @@
/*
#FILENAME#
#DESCRIPTION#
Copyright (C) 2001 #AUTHOR#
Author: #AUTHOR#
Date: #DATE#
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
of the License, 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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef __expr_h
#define __expr_h
typedef enum {
ex_label,
ex_block,
@ -116,3 +150,5 @@ void warning (expr_t *e, const char *fmt, ...) __attribute__((format(printf, 2,3
const char *get_op_string (int op);
extern int lineno_base;
#endif//__expr_h

View file

@ -15,8 +15,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
See file, 'COPYING', for details.
$Id$
*/
#ifndef __qfcc_h
#define __qfcc_h
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
@ -612,3 +617,5 @@ extern options_t options;
void PrecacheSound (def_t *e, int ch);
void PrecacheModel (def_t *e, int ch);
void PrecacheFile (def_t *e, int ch);
#endif//__qfcc_h

View file

@ -1,5 +1,41 @@
/*
#FILENAME#
#DESCRIPTION#
Copyright (C) 2001 #AUTHOR#
Author: #AUTHOR#
Date: #DATE#
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
of the License, 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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef __scope_h
#define __scope_h
typedef struct {
type_t *type;
def_t *scope;
def_t *pscope;
} scope_t;
#endif//__scope_h

View file

@ -1,3 +1,37 @@
/*
#FILENAME#
#DESCRIPTION#
Copyright (C) 2001 #AUTHOR#
Author: #AUTHOR#
Date: #DATE#
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
of the License, 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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef __struct_h
#define __struct_h
typedef struct struct_field_s {
struct struct_field_s *next;
const char *name;
@ -10,3 +44,5 @@ struct_field_t *new_struct_field (struct type_s *strct, struct type_s *type,
struct_field_t *struct_find_field (struct type_s *strct, const char *name);
struct type_s *new_struct (const char *name);
struct type_s *find_struct (const char *name);
#endif//__struct_h

View file

@ -1,3 +1,37 @@
/*
#FILENAME#
#DESCRIPTION#
Copyright (C) 2001 #AUTHOR#
Author: #AUTHOR#
Date: #DATE#
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
of the License, 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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef __switch_h
#define __switch_h
typedef struct switch_block_s {
expr_t *test;
struct hashtab_s *labels;
@ -14,3 +48,5 @@ switch_block_t *new_switch_block (void);
struct expr_s *switch_expr (switch_block_t *switch_block,
struct expr_s *break_label,
struct expr_s *statements);
#endif//__switch_h

View file

@ -24,8 +24,9 @@
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"

View file

@ -24,8 +24,9 @@
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"

View file

@ -25,8 +25,9 @@
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
static const char rcsid[] =
"$Id$";
#ifdef HAVE_CONFIG_H
# include "config.h"

View file

@ -1,3 +1,35 @@
/*
#FILENAME#
#DESCRIPTION#
Copyright (C) 2001 #AUTHOR#
Author: #AUTHOR#
Date: #DATE#
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
of the License, 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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
*/
static const char rcsid[] =
"$Id$";
#include <QF/hash.h>
#include "qfcc.h"