From 32288c8cbd309b29dff45e81d78374a5eb9c006e Mon Sep 17 00:00:00 2001 From: Theophile Ranquet Date: Fri, 26 Oct 2012 18:07:08 +0000 Subject: [PATCH] graphs: fix spacing refactoring * src/print_graph.c (print_lhs, print_core): Here. --- src/print_graph.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/print_graph.c b/src/print_graph.c index 5aa3cc62..7b2afdb5 100644 --- a/src/print_graph.c +++ b/src/print_graph.c @@ -58,6 +58,7 @@ print_lhs (struct obstack *oout, rule *previous_rule, rule *r) obstack_sgrow (oout, escape (r->lhs->tag)); obstack_1grow (oout, ':'); } + obstack_1grow (oout, ' '); } static void @@ -98,7 +99,7 @@ print_core (struct obstack *oout, state *s) for (sp = rules[r].rhs; sp < sp1; sp++) obstack_printf (oout, "%s ", escape (symbols[*sp]->tag)); - obstack_sgrow (oout, " ."); + obstack_1grow (oout, '.'); for (/* Nothing */; *sp >= 0; ++sp) obstack_printf (oout, " %s", escape (symbols[*sp]->tag)); -- 2.45.2