]> git.sur5r.net Git - cc65/blobdiff - src/cc65/macrotab.c
Added dummy classification macros for the remaining targets - even for those that...
[cc65] / src / cc65 / macrotab.c
index 365e7a27ace7b8cb25d1eb68f55fbbfd328ba25c..d0b18bdf14060be619f9616ff5f503e3dc9dc381 100644 (file)
@@ -6,8 +6,8 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2005, Ullrich von Bassewitz                                      */
-/*                Römerstraße 52                                             */
+/* (C) 2000-2011, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
 /*                                                                           */
@@ -37,7 +37,7 @@
 #include <string.h>
 
 /* common */
-#include "hashstr.h"
+#include "hashfunc.h"
 #include "xmalloc.h"
 
 /* cc65 */
@@ -81,7 +81,7 @@ Macro* NewMacro (const char* Name)
     M->ArgCount    = -1;       /* Flag: Not a function like macro */
     M->MaxArgs    = 0;
     InitCollection (&M->FormalArgs);
-    InitStrBuf (&M->Replacement);
+    SB_Init (&M->Replacement);
     M->Variadic    = 0;
     memcpy (M->Name, Name, Len+1);
 
@@ -102,7 +102,7 @@ void FreeMacro (Macro* M)
        xfree (CollAtUnchecked (&M->FormalArgs, I));
     }
     DoneCollection (&M->FormalArgs);
-    DoneStrBuf (&M->Replacement);
+    SB_Done (&M->Replacement);
     xfree (M);
 }