Lines Matching defs:lex
15 #include <isc/lex.h>
21 isc_lex_t *lex;
94 RUNTIME_CHECK(isc_lex_create(mctx, 256, &lex) == ISC_R_SUCCESS);
97 /* Set up to lex DNS master file. */
102 isc_lex_setspecials(lex, specials);
106 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
108 /* Set up to lex DNS config file. */
117 isc_lex_setspecials(lex, specials);
121 isc_lex_setcomments(lex, (ISC_LEXCOMMENT_C|
126 RUNTIME_CHECK(isc_lex_openstream(lex, stdin) == ISC_R_SUCCESS);
128 while ((result = isc_lex_gettoken(lex, options, &token)) ==
131 char *name = isc_lex_getsourcename(lex);
134 isc_lex_getsourceline(lex),
138 isc_lex_close(lex);
145 isc_lex_close(lex);
146 isc_lex_destroy(&lex);