aboutsummaryrefslogtreecommitdiff
path: root/warn.h
blob: 5327592b7aedf57c247a264a8b30dce406095847 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef WARN_H
#define WARN_H

#include "lex.h"
#include "print.h"
#include "prv.h"

struct warn
{
    struct print p;
};

int warn(const struct lex *l, struct prv *p);
int warn_cgen(const struct warn *w, struct cgen *c);
void warn_free(struct warn *w);

#endif