[project @ 1997-09-30 13:08:46 by simonm]
authorsimonm <unknown>
Tue, 30 Sep 1997 13:08:46 +0000 (13:08 +0000)
committersimonm <unknown>
Tue, 30 Sep 1997 13:08:46 +0000 (13:08 +0000)
add grouping braces to ENT_FUN_DIRECT macro

ghc/includes/Ticky.lh

index fecee0a..f97fe32 100644 (file)
@@ -341,6 +341,7 @@ struct ent_counter {
 extern struct ent_counter *ListOfEntryCtrs;
 
 #define ENT_FUN_DIRECT(f_ct,f_str,f_arity,Aargs,Bargs,arg_kinds,wrap,wrap_kinds) \
+       {                                                       \
        static struct ent_counter f_ct                          \
          = { 0,                                                \
              (f_arity), (Aargs), (Bargs), (f_str), (arg_kinds),\
@@ -355,6 +356,7 @@ extern struct ent_counter *ListOfEntryCtrs;
            f_ct.registeredp = 1;                               \
        }                                                       \
        f_ct.ctr += 1;                                          \
+       }                                                       \
        ENT_FUN_DIRECT_ctr++ /* the old boring one */
 \end{code}