diff --git a/bin/tests/lex_test.c b/bin/tests/lex_test.c index 1760256228..eb3bb84123 100644 --- a/bin/tests/lex_test.c +++ b/bin/tests/lex_test.c @@ -109,7 +109,7 @@ main(int argc, char *argv[]) { specials[')'] = 1; specials['"'] = 1; isc_lex_setspecials(lex, specials); - options = ISC_LEXOPT_DNSMULTILINE | + options = ISC_LEXOPT_DNSMULTILINE | ISC_LEXOPT_ESCAPE | ISC_LEXOPT_EOF | ISC_LEXOPT_QSTRING | ISC_LEXOPT_NOMORE; isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE); diff --git a/lib/dns/master.c b/lib/dns/master.c index cd32e6d69d..6160d80a57 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: master.c,v 1.18 1999/06/08 10:35:04 gson Exp $ */ + /* $Id: master.c,v 1.19 1999/06/09 11:56:00 gson Exp $ */ #include @@ -105,7 +105,8 @@ gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *token, { isc_result_t result; - options |= ISC_LEXOPT_EOL | ISC_LEXOPT_EOF | ISC_LEXOPT_DNSMULTILINE; + options |= ISC_LEXOPT_EOL | ISC_LEXOPT_EOF | ISC_LEXOPT_DNSMULTILINE | + ISC_LEXOPT_ESCAPE; result = isc_lex_gettoken(lex, options, token); if (result != ISC_R_SUCCESS) { switch (result) { diff --git a/lib/isc/base64.c b/lib/isc/base64.c index a36081924a..e26de9cb9e 100644 --- a/lib/isc/base64.c +++ b/lib/isc/base64.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: base64.c,v 1.3 1999/06/08 10:35:23 gson Exp $ */ + /* $Id: base64.c,v 1.4 1999/06/09 11:56:45 gson Exp $ */ #include @@ -194,7 +194,7 @@ gettoken(isc_lex_t *lexer, isc_token_t *token, isc_tokentype_t expect, isc_boolean_t eol) { unsigned int options = ISC_LEXOPT_EOL | ISC_LEXOPT_EOF | - ISC_LEXOPT_DNSMULTILINE; + ISC_LEXOPT_DNSMULTILINE | ISC_LEXOPT_ESCAPE; isc_result_t result; if (expect == isc_tokentype_qstring)