Skip to content

Commit

Permalink
remove Mac includes
Browse files Browse the repository at this point in the history
  • Loading branch information
James McCartney committed Sep 6, 2006
1 parent a46c6b9 commit d639460
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions source/lang/LangSource/DumpParseNode.cpp
Expand Up @@ -248,8 +248,6 @@ void dumpPyrSlot(PyrSlot* slot)
post(" %s\n", str);
}

#include <Carbon/Carbon.h>

void slotString(PyrSlot *slot, char *str)
{
switch (slot->utag) {
Expand All @@ -261,7 +259,6 @@ void slotString(PyrSlot *slot, char *str)
break;
case tagSym :
if (!slot->us->name) {
Debugger();
snprintf(str, 256, "Symbol <NAME IS NULL PTR>");
} else if (strlen(slot->us->name) > 240) {
char str2[256];
Expand Down Expand Up @@ -620,7 +617,8 @@ int asCompileString(PyrSlot *slot, char *str)
g_fmt(str, slot->uf);
break;
default :
Debugger();
strcpy(str, "<BAD TAG>");

}
return errNone;
}
Expand Down
6 changes: 3 additions & 3 deletions source/lang/LangSource/GC.cpp
Expand Up @@ -996,7 +996,7 @@ bool PyrGC::ListSanity()
fprintf(stderr, "grey count off %d %d\n", numgrey, mNumGrey);
DumpInfo();
fprintf(stderr, ".");
Debugger();
//Debugger();
return false;
}
return true;
Expand Down Expand Up @@ -1060,7 +1060,7 @@ bool PyrGC::BlackToWhiteCheck(PyrObject *objA)
dumpBadObject(objB);
fprintf(stderr, "\n");
#endif
Debugger();
//Debugger();
return false;
}
}
Expand Down Expand Up @@ -1114,7 +1114,7 @@ bool PyrGC::SanityMarkObj(PyrObject *objA, PyrObject *fromObj, int level)
dumpBadObject(objB);
fprintf(stderr, "\n");
#endif
Debugger();
//Debugger();
return false;
}
}
Expand Down
1 change: 0 additions & 1 deletion source/lang/LangSource/PyrInterpreter3.cpp
Expand Up @@ -37,7 +37,6 @@
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <Carbon/Carbon.h>

#ifdef SC_WIN32
# include "SC_Win32Utils.h"
Expand Down
1 change: 0 additions & 1 deletion source/lang/LangSource/PyrMessage.cpp
Expand Up @@ -30,7 +30,6 @@
#endif
#include <assert.h>
#include "PredefinedSymbols.h"
//#include <CoreServices/CoreServices.h> //!!!

#define DEBUGMETHODS 0
#define SANITYCHECK 0
Expand Down
1 change: 0 additions & 1 deletion source/lang/LangSource/PyrPrimitive.cpp
Expand Up @@ -48,7 +48,6 @@
#include "PyrDeepFreezer.h"
//#include "Wacom.h"
#include "InitAlloc.h"
#include <Carbon/Carbon.h>

#define SANITYCHECK 0
int yyparse();
Expand Down

0 comments on commit d639460

Please sign in to comment.