MEDIUM: stats-file: explicitely ignore comments starting by //
Explicitely ignore comments starting by // so they don't emit a warning.
This commit is contained in:
parent
96f2736e99
commit
f36caf7b81
|
@ -385,6 +385,10 @@ void apply_stats_file(void)
|
|||
if (!istlen(istline))
|
||||
continue;
|
||||
|
||||
/* comment line starts by // */
|
||||
if (istmatch(istline, ist("//")) != 0)
|
||||
continue;
|
||||
|
||||
if (*istptr(istline) == '#') {
|
||||
if (parse_header_line(istline, &st_tree, &domain, cols)) {
|
||||
if (!valid_format) {
|
||||
|
|
Loading…
Reference in New Issue