From 2e1f933d659561966dc7876356bf3a63b5b797a2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 30 May 2025 13:03:16 +1000 Subject: [PATCH] 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. --- bin/tools/named-rrchecker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/named-rrchecker.c b/bin/tools/named-rrchecker.c index 71023bb926..be7a14016e 100644 --- a/bin/tools/named-rrchecker.c +++ b/bin/tools/named-rrchecker.c @@ -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);