1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-09 08:35:19 +02:00
eda-tools/b2/lang.h

42 lines
1.1 KiB
C
Raw Normal View History

2012-04-26 09:02:48 +03:00
/*
* lang.h - Things lang.l and lang.y export
*
* Copyright 2012 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef LANG_H
#define LANG_H
#include "chr.h"
#include "subst.h"
extern const char *dollar; /* "$" */
extern struct action hierarchy;
extern struct subst *substitutions;
extern const char *file_name_override;
void parse_hierarchy(const char *name);
void parse_characteristics(const char *name);
void parse_inventory(const char *name);
void parse_currencies(const char *name);
void parse_providers(const char *name);
void parse_substitutions(const char *name);
void parse_kicad_bom(const char *name);
void parse_symbols(const char *name);
2012-04-26 09:02:48 +03:00
2012-04-29 04:38:06 +03:00
void yywarnf(const char *fmt, ...);
void yywarn(const char *s);
void __attribute__((noreturn)) yyerrorf(const char *fmt, ...);
void __attribute__((noreturn)) yyerror(const char *s);
2012-04-26 09:02:48 +03:00
#endif /* !LANG_H */