X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fmacrotab.c;h=d0b18bdf14060be619f9616ff5f503e3dc9dc381;hb=c6ee5a841878ccdbf9ab85d3dafdd088648b93ba;hp=365e7a27ace7b8cb25d1eb68f55fbbfd328ba25c;hpb=1aeeffdc52c245315db24e48b09092bb682e5a3e;p=cc65 diff --git a/src/cc65/macrotab.c b/src/cc65/macrotab.c index 365e7a27a..d0b18bdf1 100644 --- a/src/cc65/macrotab.c +++ b/src/cc65/macrotab.c @@ -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 /* 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); }