mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
expand the qstringornone type in the grammar summary
This commit is contained in:
parent
0e27dac042
commit
b8685833f1
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: parser.c,v 1.81 2001/10/16 22:18:57 gson Exp $ */
|
||||
/* $Id: parser.c,v 1.82 2001/10/19 18:08:27 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -3944,6 +3944,8 @@ print_grammar(cfg_printer_t *pctx, const cfg_type_t *type) {
|
|||
}
|
||||
} else if (type->print == print_void) {
|
||||
/* Print nothing. */
|
||||
} else if (type->parse == parse_qstringornone) {
|
||||
print(pctx, "( <quoted_string> | none )", 26);
|
||||
} else {
|
||||
print(pctx, "<", 1);
|
||||
print_cstr(pctx, type->name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue