summaryrefslogtreecommitdiff
path: root/kicad/sch-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'kicad/sch-parse.c')
-rw-r--r--kicad/sch-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/sch-parse.c b/kicad/sch-parse.c
index 456ad13..08d7dd8 100644
--- a/kicad/sch-parse.c
+++ b/kicad/sch-parse.c
@@ -599,7 +599,7 @@ static bool parse_line(const struct file *file, void *user, const char *line)
case sch_eof:
return 1;
default:
- abort();
+ BUG("invalid state %d", ctx->state);
}
fatal("%s:%u: cannot parse\n\"%s\"\n", file->name, file->lineno, line);
}