-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.h
92 lines (66 loc) · 2.44 KB
/
common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
FILE NAME: common.h
Copyright (C) 1997-2016 Vladimir Makarov.
Written by Vladimir Makarov <[email protected]>
This file is part of the tool SHILKA.
This 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 software 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 GNU CC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
TITLE: Include file of common things for all Shilka (keywords
description translator)
DESCRIPTION: This header file contains definitions of macros
and external definitions of variables common for
all Shilka (keywords description translator).
SPECIAL CONSIDERATION:
This file can not be included repeatedly.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "ird.h"
/* Standard designators for true and false values. */
#define FALSE 0
#define TRUE 1
/* Suffix which any keywords description file name must have. If this
macro value is changed then documentation of Shilka must be
changed. */
#define STANDARD_INPUT_FILE_SUFFIX ".shilka"
/* This macro value is used for correct calculation of current
position in file when TAB character is processed. */
#define TAB_STOP 8
extern int cpp_flag;
#ifndef NDEBUG
extern int debug_flag;
#endif
extern int statistics_flag;
extern int inline_flag;
extern int strip_flag;
extern int interface_flag;
extern int enum_flag;
extern int length_flag;
extern int case_flag;
extern int no_definitions_flag;
extern int export_flag;
extern char *prefix;
extern int time_flag;
extern int fast_number;
extern int w_flag;
extern int v_flag;
extern char *description_name;
extern FILE *output_interface_file;
extern char *output_interface_file_name;
extern FILE *output_implementation_file;
extern char *output_implementation_file_name;
extern FILE *output_description_file;
extern char *output_description_file_name;
extern IR_node_t description;
extern int our_tolower (int c);