grammar summary output for named maps was missing the name field

This commit is contained in:
Andreas Gustafsson 2001-11-05 22:24:31 +00:00
parent 52c5fd5684
commit 06278dd28a

View file

@ -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++) {