mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-08 10:38:05 -04:00
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.
(cherry picked from commit 2e1f933d65)
This commit is contained in:
parent
57deb2da87
commit
75481acca9
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,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);
|
||||
|
||||
RUNTIME_CHECK(isc_lex_openstream(lex, stdin) == ISC_R_SUCCESS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue