Extend named-rrchecker multi-line parsing support

named-rrchecker now parses the braces which support multi-line input
from the beginning of the input rather than only when reading the
data fields of the record.
This commit is contained in:
Mark Andrews 2025-05-30 13:03:16 +10:00
parent 029e17844b
commit 2e1f933d65

View file

@ -181,7 +181,7 @@ main(int argc, char *argv[]) {
specials[')'] = 1;
specials['"'] = 1;
isc_lex_setspecials(lex, specials);
options = ISC_LEXOPT_EOL;
options = ISC_LEXOPT_EOL | ISC_LEXOPT_DNSMULTILINE;
isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
isc_lex_openstream(lex, stdin);