public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/marxin/heads/genhooks-sphinx-v2)] Emit placeholders.
Date: Mon,  7 Jun 2021 13:38:03 +0000 (GMT)	[thread overview]
Message-ID: <20210607133803.5EE20383302F@sourceware.org> (raw)

https://gcc.gnu.org/g:c73acf1b14b8b9fc35b855de718a7611c2f1920a

commit c73acf1b14b8b9fc35b855de718a7611c2f1920a
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Jun 7 15:37:46 2021 +0200

    Emit placeholders.

Diff:
---
 gcc/genhooks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/genhooks.c b/gcc/genhooks.c
index ebe0d0954e6..29d53b63ba7 100644
--- a/gcc/genhooks.c
+++ b/gcc/genhooks.c
@@ -232,6 +232,7 @@ emit_documentation (const char *in_fname)
 			  deftype, hook_array[j].docname,
 			  hook_array[j].type, namex);
 		}
+	      printf ("\nxxxHOOK:%s", hook_array[i].name);
 	      if (hook_array[i].doc[0])
 		{
 		  printf ("\n");
@@ -245,6 +246,7 @@ emit_documentation (const char *in_fname)
 		    }
 		  printf ("\n@end %s", deftype);
 		}
+	      printf ("\nyyyHOOK");
 	    }
 	  if (++i >= (int) (sizeof hook_array / sizeof hook_array[0])
 	      || !hook_array[i].doc)


                 reply	other threads:[~2021-06-07 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210607133803.5EE20383302F@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).