summaryrefslogtreecommitdiff
path: root/kicad/pro.c
diff options
context:
space:
mode:
Diffstat (limited to 'kicad/pro.c')
-rw-r--r--kicad/pro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kicad/pro.c b/kicad/pro.c
index f077fe3..a113ba1 100644
--- a/kicad/pro.c
+++ b/kicad/pro.c
@@ -16,6 +16,7 @@
#include <assert.h>
#include "misc/util.h"
+#include "misc/diag.h"
#include "file/file.h"
#include "kicad/ext.h"
#include "kicad/pro.h"
@@ -77,7 +78,7 @@ static bool pro_parse_line(const struct file *file,
}
break;
default:
- abort();
+ BUG("invalid state %d", pro->state);
}
return 1;
}