… | |
… | |
248 | exit (1); |
248 | exit (1); |
249 | } |
249 | } |
250 | } |
250 | } |
251 | |
251 | |
252 | void |
252 | void |
253 | object_thawer::parse_warn (const char *msg) |
253 | object_thawer::parse_warn (const char *msg) const |
254 | { |
254 | { |
255 | LOG (llevWarn, "%s:%d, \"%s %s\": %s\n", |
255 | LOG (llevWarn, "%s:%d, \"%s %s\": %s\n", |
256 | this->name, linenum, |
256 | this->name, linenum, |
257 | kw_str ? kw_str : "<null>", |
257 | kw_str ? kw_str : "<null>", |
258 | value ? value : "<null>", |
258 | value ? value : "<null>", |
259 | msg); |
259 | msg); |
260 | } |
260 | } |
261 | |
261 | |
262 | bool |
262 | bool |
263 | object_thawer::parse_error (const char *type, const char *name, bool skip) |
263 | object_thawer::parse_error (const char *type, const char *name, bool skip) const |
264 | { |
264 | { |
265 | if (!type) type = "file section"; |
265 | if (!type) type = "file section"; |
266 | if (!name) name = "generic"; |
266 | if (!name) name = "generic"; |
267 | |
267 | |
268 | switch (kw) |
268 | switch (kw) |