mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 09:06:51 -04:00
grammar summary output for named maps was missing the name field
This commit is contained in:
parent
52c5fd5684
commit
06278dd28a
1 changed files with 6 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: parser.c,v 1.87 2001/11/05 18:21:22 gson Exp $ */
|
||||
/* $Id: parser.c,v 1.88 2001/11/05 22:24:31 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -3868,6 +3868,11 @@ print_grammar(cfg_printer_t *pctx, const cfg_type_t *type) {
|
|||
const cfg_clausedef_t * const *clauseset;
|
||||
const cfg_clausedef_t *clause;
|
||||
|
||||
if (type->parse == parse_named_map) {
|
||||
print_grammar(pctx, &cfg_type_astring);
|
||||
print(pctx, " ", 1);
|
||||
}
|
||||
|
||||
print_open(pctx);
|
||||
|
||||
for (clauseset = type->of; *clauseset != NULL; clauseset++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue