mirror of
https://github.com/ksherlock/merlin-utils.git
synced 2024-12-21 05:30:00 +00:00
gcc fixes.
This commit is contained in:
parent
6024ff6436
commit
3c6be110b1
3
link.cpp
3
link.cpp
@ -13,6 +13,7 @@
|
||||
#include <cerrno>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <ctime>
|
||||
|
||||
#include <err.h>
|
||||
@ -804,7 +805,7 @@ void process_script(const char *path) {
|
||||
try {
|
||||
parse_line(line);
|
||||
} catch (std::exception &ex) {
|
||||
if (~active & 0x01) continue;
|
||||
if (!active) continue;
|
||||
|
||||
fprintf(stderr, "%s in line: %d\n", ex.what(), no);
|
||||
fprintf(stderr, "%s\n", line);
|
||||
|
Loading…
Reference in New Issue
Block a user