Commit b8685833 authored by Andreas Gustafsson's avatar Andreas Gustafsson

expand the qstringornone type in the grammar summary

parent 0e27dac0
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * 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> #include <config.h>
...@@ -3944,6 +3944,8 @@ print_grammar(cfg_printer_t *pctx, const cfg_type_t *type) { ...@@ -3944,6 +3944,8 @@ print_grammar(cfg_printer_t *pctx, const cfg_type_t *type) {
} }
} else if (type->print == print_void) { } else if (type->print == print_void) {
/* Print nothing. */ /* Print nothing. */
} else if (type->parse == parse_qstringornone) {
print(pctx, "( <quoted_string> | none )", 26);
} else { } else {
print(pctx, "<", 1); print(pctx, "<", 1);
print_cstr(pctx, type->name); print_cstr(pctx, type->name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment