error report is propagated through pic->err

This commit is contained in:
Yuichi Nishiwaki
2014-02-11 13:21:00 +09:00
parent 468e1b4d1f
commit 372fd3157b
9 changed files with 59 additions and 38 deletions
+3 -2
View File
@@ -14,9 +14,10 @@ struct pic_error {
enum pic_error_kind {
PIC_ERROR_OTHER,
PIC_ERROR_FILE,
PIC_ERROR_READ
PIC_ERROR_READ,
PIC_ERROR_RAISED
} type;
char *msg;
struct pic_string *msg;
pic_value irrs;
};