FreeCalypso > hg > ueda-linux
diff ueda/libuschem/parserint.h @ 0:cd92449fdb51
initial import of ueda and ifctf-part-lib from ifctfvax CVS
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 20 Jul 2015 00:24:37 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ueda/libuschem/parserint.h Mon Jul 20 00:24:37 2015 +0000 @@ -0,0 +1,23 @@ +/* + * 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; +};