From 2dcf4945fda14e19beea9aac0db33e2dfc60ab89 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sat, 6 Jan 2007 20:35:22 +0100 Subject: [PATCH] assert Grob_info doesn't get null pointers. --- lily/grob-info.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lily/grob-info.cc b/lily/grob-info.cc index 62af8f3256..aa6583f927 100644 --- a/lily/grob-info.cc +++ b/lily/grob-info.cc @@ -19,6 +19,11 @@ Grob_info::Grob_info (Translator *t, Grob *g) origin_trans_ = t; grob_ = g; start_end_ = START; + + /* + assert here, because this is easier to debug. + */ + assert (g); } Grob_info::Grob_info () -- 2.39.2