view ueda/libuschem/parserint.h @ 94:73029295c4dd

ifctf-part-lib/uschem-symbols: added Si1032R.pinout and ipc-diode.pinout
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 24 Aug 2019 08:54:11 +0000
parents cd92449fdb51
children
line wrap: on
line source

/*
 * These data structures are internal to the schematic reading/parsing process
 * and persist only while that operation is in progress.
 */

/* tokens */
#define	STRING	256
#define	QSTRING	257

#define	MAXSTRING	63

struct schem_parse_state {
	FILE	*file;
	int	lineno;
	struct	schem *schem;
	char	string[MAXSTRING+1];
	int	pushback_token;
};

struct xypair {
	int	x;
	int	y;
};