public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [PATCH, applied] writer: Don't forget when emitting array subrange types
@ 2021-10-18  8:57 Dodji Seketeli
  0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2021-10-18  8:57 UTC (permalink / raw)
  To: libabigail

Hello,

When looking into something else, I noticed that we were forgetting
when array subranges are emitted.  Fixed thus.

	* src/abg-writer.cc (write_array_subrange_type): Record the type
	as emitted.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to master.
---
 src/abg-writer.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/abg-writer.cc b/src/abg-writer.cc
index 3848df77..6f2fee16 100644
--- a/src/abg-writer.cc
+++ b/src/abg-writer.cc
@@ -2921,6 +2921,8 @@ write_array_subrange_type(const array_type_def::subrange_sptr&	decl,
 
   o << "/>\n";
 
+  ctxt.record_type_as_emitted(decl);
+
   return true;
 }
 
-- 
2.32.0


-- 
		Dodji


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-18  8:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18  8:57 [PATCH, applied] writer: Don't forget when emitting array subrange types Dodji Seketeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).