2002-11-06 Richard Sandiford <rsandifo@redhat.com>
authorChris Demetriou <cgd@google.com>
Wed, 6 Nov 2002 18:41:09 +0000 (18:41 +0000)
committerChris Demetriou <cgd@google.com>
Wed, 6 Nov 2002 18:41:09 +0000 (18:41 +0000)
        * gen-engine.c (print_engine_issue_prefix_hook): Don't add the
        global prefix to ENGINE_ISSUE_PREFIX_HOOK.
        (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.

sim/igen/ChangeLog
sim/igen/gen-engine.c

index 9484c2226ef69236b6ce134403b1dbd054aee584..4e4b3a4a90d5b938e454b1538aaddfe555cbfea0 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * gen-engine.c (print_engine_issue_prefix_hook): Don't add the
+       global prefix to ENGINE_ISSUE_PREFIX_HOOK.
+       (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.
+
 2002-08-28  Dave Brolley  <brolley@redhat.com>
 
        * gen-support.c (gen_support_h): Generate
index ee27e68031769da3750b8fbec1952cf3d3df3394..1de477d8387373654caab9298e999bb062110337 100644 (file)
@@ -41,10 +41,8 @@ print_engine_issue_prefix_hook (lf *file)
 {
   lf_printf (file, "\n");
   lf_indent_suppress (file);
-  lf_printf (file, "#if defined (%sENGINE_ISSUE_PREFIX_HOOK)\n",
-            options.module.global.prefix.l);
-  lf_printf (file, "%sENGINE_ISSUE_PREFIX_HOOK();\n",
-            options.module.global.prefix.l);
+  lf_printf (file, "#if defined (ENGINE_ISSUE_PREFIX_HOOK)\n");
+  lf_printf (file, "ENGINE_ISSUE_PREFIX_HOOK();\n");
   lf_indent_suppress (file);
   lf_printf (file, "#endif\n");
   lf_printf (file, "\n");
@@ -55,10 +53,8 @@ print_engine_issue_postfix_hook (lf *file)
 {
   lf_printf (file, "\n");
   lf_indent_suppress (file);
-  lf_printf (file, "#if defined (%sENGINE_ISSUE_POSTFIX_HOOK)\n",
-            options.module.global.prefix.l);
-  lf_printf (file, "%sENGINE_ISSUE_POSTFIX_HOOK();\n",
-            options.module.global.prefix.l);
+  lf_printf (file, "#if defined (ENGINE_ISSUE_POSTFIX_HOOK)\n");
+  lf_printf (file, "ENGINE_ISSUE_POSTFIX_HOOK();\n");
   lf_indent_suppress (file);
   lf_printf (file, "#endif\n");
   lf_printf (file, "\n");