-
Notifications
You must be signed in to change notification settings - Fork 0
/
syntakticka_analyza.h
55 lines (48 loc) · 980 Bytes
/
syntakticka_analyza.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
/****************************************/
/** Projekt pro IFJ/IAL */
/** Syntakticka analyza */
/** Autor: Karel Fajkus */
/** email: xfajku05@stud.fit.vutbr.cz */
/****************************************/
#ifndef _SYN_H_
#define _SYN_H_
#include "precedencni_analyza.h"
#include "frame.h"
tHTable *pomocna;
int dtype;
bool init;
bool prirovnani;
int pocitadlo;
bool bylo_id;
char* term_id;
char* porovnani;
char* id;
char* funkce;
char* params;
tToken token;
bool byla_funkce;
int pocitani_parametru;
int lab;
int lab_while;
//hlavicky funkci
int syntakticka_anal();
void htPrintTable( tHTable *ptrht );
tChyba DTYPE2();
tChyba DRUH();
tChyba FUNKCE();
tChyba PARAMS();
tChyba DTYPE();
tChyba FORW();
tChyba ACT_LIST();
tChyba DEKLARACE();
tChyba DALSI_P();
tChyba PROM();
tChyba ROZHODNI();
tChyba VESTAV();
tChyba LEXEM();
tChyba CYKLUS();
tChyba TERM();
tChyba UKONCOVACI();
tChyba DOPREDNE();
tChyba TERM2();
#endif