Commit cd9c98f5 authored by Daniel Salzman's avatar Daniel Salzman

zscanner: fix error count if errors in include file

parent 830d220c
......@@ -763,6 +763,7 @@
zs_parse_all(ss) != 0) {
// File internal errors are handled by error callback.
if (ss->error.counter > 0) {
s->error.counter += ss->error.counter;
ERR(ZS_UNPROCESSED_INCLUDE);
// General include file error.
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment