Root/b2/lang.h

1/*
2 * lang.h - Things lang.l and lang.y export
3 *
4 * Copyright 2012 by Werner Almesberger
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */
11
12
13#ifndef LANG_H
14#define LANG_H
15
16#include "chr.h"
17#include "subst.h"
18
19
20extern const char *dollar; /* "$" */
21
22extern struct action hierarchy;
23extern struct subst *substitutions;
24
25extern const char *file_name_override;
26
27void parse_hierarchy(const char *name);
28void parse_characteristics(const char *name);
29void parse_inventory(const char *name);
30void parse_currencies(const char *name);
31void parse_providers(const char *name);
32void parse_substitutions(const char *name);
33void parse_kicad_bom(const char *name);
34void parse_symbols(const char *name);
35
36void yywarnf(const char *fmt, ...);
37void yywarn(const char *s);
38void __attribute__((noreturn)) yyerrorf(const char *fmt, ...);
39void __attribute__((noreturn)) yyerror(const char *s);
40
41#endif /* !LANG_H */
42

Archive Download this file

Branches:
master



interactive