From 3c00102dfc7805cb74ce40e95068cc1b7895c72f Mon Sep 17 00:00:00 2001 From: Stephen North Date: Thu, 25 Jul 2013 14:20:55 -0400 Subject: [PATCH] Patch for egregious parser problems. --- lib/cgraph/grammar.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cgraph/grammar.y b/lib/cgraph/grammar.y index 7b13ba3dd..d8cb343c6 100644 --- a/lib/cgraph/grammar.y +++ b/lib/cgraph/grammar.y @@ -397,7 +397,7 @@ static void getedgeitems(int x) v = cons_list(S->nodelist.first); S->nodelist.first = S->nodelist.last = NILitem; } - else {if (S->subg) v = cons_subg(S->subg);} + else {if (S->subg) v = cons_subg(S->subg); S->subg = 0;} /* else nil append */ if (v) listapp(&(S->edgelist),v); } -- 2.40.0