-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
38 lines (34 loc) · 847 Bytes
/
main.c
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
/***************************
* PROJECT:
* IFJ20 - Compiler for imperative programming language IFJ20
*
* UNIVERSITY:
* Faculty of Information Technology, Brno University of Technology
*
* FILE:
* main.c
*
* DESCRIPTION:
* Main file
*
* AUTHORS:
* Tomáš Hrúz <[email protected]>
* Kolaříková Mirka <[email protected]>
* Aleš Řezáč <[email protected]>
* Žovinec Martin <[email protected]>
*/
#include "main.h"
int main() {
//initialize list of instructions
tListOfInstr instrList;
listInit(&instrList);
int result = 0;
result = parse(&instrList); // provedeme syntaktickou analyzu
if (result != 0) errorMsg(result, "Something went wrong");
if (result == 0)
{
//printf("NOICE\n");
}
listFree(&instrList);
return 0;
}