Removed debug which was accidentally checked in
git-svn-id: http://picoc.googlecode.com/svn/trunk@189 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
7306924785
commit
201019ce2d
6
table.c
6
table.c
|
@ -114,9 +114,9 @@ char *TableSetIdentifier(struct Table *Tbl, const char *Ident, int IdentLen)
|
||||||
else
|
else
|
||||||
{ /* add it to the table - we economise by not allocating the whole structure here */
|
{ /* add it to the table - we economise by not allocating the whole structure here */
|
||||||
struct TableEntry *NewEntry = HeapAlloc(sizeof(struct TableEntry *) + IdentLen + 1);
|
struct TableEntry *NewEntry = HeapAlloc(sizeof(struct TableEntry *) + IdentLen + 1);
|
||||||
printf("allocated 0x%lx:%d for '", (unsigned long)NewEntry, sizeof(struct TableEntry *) + IdentLen + 1);
|
//printf("allocated 0x%lx:%d for '", (unsigned long)NewEntry, sizeof(struct TableEntry *) + IdentLen + 1);
|
||||||
fwrite(Ident, 1, IdentLen, stdout);
|
//fwrite(Ident, 1, IdentLen, stdout);
|
||||||
printf("'\n");
|
//printf("'\n");
|
||||||
if (NewEntry == NULL)
|
if (NewEntry == NULL)
|
||||||
ProgramFail(NULL, "out of memory");
|
ProgramFail(NULL, "out of memory");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue