1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-30 07:04:06 +02:00

sch2fig/sch.c (sch_parse): ignore AR element (what is this ?)

This commit is contained in:
Werner Almesberger 2016-07-25 15:04:07 -03:00
parent 3588992947
commit 3433068d71

View File

@ -328,6 +328,8 @@ bool sch_parse(struct sch_ctx *ctx, const char *line)
return 1; return 1;
if (parse_field(ctx, line)) if (parse_field(ctx, line))
return 1; return 1;
if (sscanf(line, "AR %n", &n) == 0 && n)
return 1; /* @@@ what is "AR" ? */
n = sscanf(line, " %d %d %d %d", m + 1, m + 2, m + 4, m + 5); n = sscanf(line, " %d %d %d %d", m + 1, m + 2, m + 4, m + 5);
if (n == 3) if (n == 3)
return 1; return 1;