Lines Matching defs:lex
24 #include <isc/lex.h>
29 isc_lex_t *lex;
102 RUNTIME_CHECK(isc_lex_create(mctx, 256, &lex) == ISC_R_SUCCESS);
105 /* Set up to lex DNS master file. */
110 isc_lex_setspecials(lex, specials);
114 isc_lex_setcomments(lex, ISC_LEXCOMMENT_DNSMASTERFILE);
116 /* Set up to lex DNS config file. */
125 isc_lex_setspecials(lex, specials);
129 isc_lex_setcomments(lex, (ISC_LEXCOMMENT_C|
134 RUNTIME_CHECK(isc_lex_openstream(lex, stdin) == ISC_R_SUCCESS);
136 while ((result = isc_lex_gettoken(lex, options, &token)) ==
139 char *name = isc_lex_getsourcename(lex);
142 isc_lex_getsourceline(lex),
146 isc_lex_close(lex);
153 isc_lex_close(lex);
154 isc_lex_destroy(&lex);