mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
grammar summary output for named maps was missing the name field
This commit is contained in:
@@ -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++) {
|
||||
|
Reference in New Issue
Block a user