Fix regression with manual name check

master
Drew DeVault 6 years ago
parent 10927bdcfa
commit bd4e12d238
  1. 2
      src/main.c

@ -138,7 +138,7 @@ static void parse_preamble(struct parser *p) {
}
fprintf(p->output, "\n");
break;
} else {
} else if (section == -1) {
parser_fatal(p, "Name characters must be A-Z, a-z, 0-9, `-`, `_`, or `.`");
}
}

Loading…
Cancel
Save