Added ability to define multiple functions (without parameters) and
[zilutils.git] / zilasm / include_all.h
1 /*
2  * include_all.h -- part of ZilUtils/ZilAsm
3  *
4  * Copyright (C) 2020 Jason Self <j@jxself.org>
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Affero General Public License as
8  * published by the Free Software Foundation, either version 3 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU Affero General Public License for more details.
15  *
16  * You should have received a copy of the GNU Affero General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>
18  *
19  * SPDX-License-Identifier: AGPL-3.0-or-later
20  */
21
22 #pragma once
23
24 #ifndef INCLUDE_ALL
25 #define INCLUDE_ALL
26
27
28 //#include <stdio.h>
29 //#include <stdlib.h>
30 //#include <stdarg.h>
31 //#include <string.h>
32
33
34 #include <stdlib.h>
35 #include <stdio.h>              /* fopen, fgets */
36 #include <stdarg.h>
37 #include <string.h>             /* strlen */
38 extern "C"
39 {
40 #include <strings.h>
41 }
42 #include <getopt.h>
43 #include <time.h>
44 #include <ctype.h>
45
46
47 #include <string>
48 #include <stack>
49 #include <list>
50 #include <vector>
51 #include <map>
52 using namespace std;
53
54
55
56 #include "config.h"
57 #include "header.h"
58 extern "C"
59 {
60 #include "opcodes.h"
61 }
62
63 #include "header.h"
64 #include "directives.h"
65 #include "parser.h"
66
67
68 //extern "C"
69 //{
70 //#include "opcodes.h"
71 //}
72 #include "labels.h"
73 #include "string_table.h"
74 #include "compiler.h"
75 #endif
76