summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index de429ab..9850b81 100644
--- a/main.c
+++ b/main.c
@@ -235,7 +235,7 @@ main(int argc, char **argv)
}
}
- rv = parse(source, dumponly);
+ rv = source ? parse(source, dumponly) : 0;
out:
if (input && input != stdin)