#include "genc.h"
#include "parse.h"
#include "scan.h"
-#include "type.h"
+#include "sem.h"
extern int yylex_destroy(void);
void usage(FILE *out, char *arg0)
ast_print(result, stdout);
//Typecheck
- if ((result = type(result)) == NULL) {
+ if ((result = sem(result)) == NULL) {
return 1;
}
if (ptype)