🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bryan Boreham Sun, 17 Sep 1989 19:01
No data fields
#260
Author: Bryan Boreham
Date: Sun, 17 Sep 1989 19:01
24 lines
1172 bytes
Can I suggest this:

*** valprint.c~	Sun Sep 17 19:47:00 1989
--- valprint.c	Sun Sep 17 19:48:22 1989
***************
*** 1033,1038 ****
  	  fprintf_filtered (stream, "{");
  	  len = TYPE_NFIELDS (type);
! 	  if (len) fprintf_filtered (stream, "\n");
! 	  else fprintf_filtered (stream, "<no data fields>\n");
  
  	  /* If there is a base class for this type,
--- 1035,1045 ----
  	  fprintf_filtered (stream, "{");
  	  len = TYPE_NFIELDS (type);
! 	  if (len) 
! 	    fprintf_filtered (stream, "\n");
! 	  else 
! 	    if (TYPE_FLAGS (type) & TYPE_FLAG_STUB)
! 	      fprintf_filtered (stream, "<Type not defined in this context>\n");
! 	    else
! 	      fprintf_filtered (stream, "<no data fields>\n");
  
  	  /* If there is a base class for this type,
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads