aboutsummaryrefslogtreecommitdiff
path: root/pc.h
blob: 3614796776f4710b45720c29af1a3a06ec63c869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PC_H
#define PC_H

#include "y.tab.h"
#include "tree.h"

char* pretty_type(int);

void debug_print(int, union YYSTYPE*);

int yyerror(char*);

int count_args(ptree*);
int set_func_types(ptree*, int*, int);
int get_call_types(ptree*, int*, int);

#define OFFSET_SIZE 8

#endif

#define GENERATE_CODE