summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/parser.h
blob: 93addbf7f83130f931482dc33c0971e3d478d23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PGF_PARSER_H_
#define PGF_PARSER_H_

#include <gu/enum.h>
#include <pgf/data.h>
#include <pgf/expr.h>

void
pgf_add_extern_tok(PgfSymbol* psym, PgfToken tok, GuPool* pool);

void
pgf_add_extern_cat(PgfSymbol* psym, int d, int r, GuPool* pool);

void
pgf_parser_add_literal(PgfConcr *concr, PgfCId cat,
                       PgfLiteralCallback* callback);

#endif // PGF_PARSER_H_