Change all function bodies in the shim to abort(), allows it to link
authorNick Downing <nick@ndcode.org>
Sat, 18 Jun 2022 02:41:44 +0000 (12:41 +1000)
committerNick Downing <nick@ndcode.org>
Sat, 18 Jun 2022 02:41:44 +0000 (12:41 +1000)
14 files changed:
aslshim/asmdef.c
aslshim/asmerr.c
aslshim/asmitree.c
aslshim/asmpars.c
aslshim/asmsub.c
aslshim/bpemu.c
aslshim/cpulist.c
aslshim/dynstr.c
aslshim/errmsg.c
aslshim/intformat.c
aslshim/intpseudo.c
aslshim/natpseudo.c
aslshim/strcomp.c
aslshim/strutil.c

index 232c713..7a6c5e7 100644 (file)
@@ -223,6 +223,9 @@ Boolean WasIF, WasMACRO;
 
 void AsmDefInit(void)
 {
+#if 1
+ abort();
+#else
   LongInt z;
 
   DoLst = eLstMacroExpAll;
@@ -244,31 +247,51 @@ void AsmDefInit(void)
 
   FirstDefine = NULL;
   FirstSaveState = NULL;
+#endif
 }
 
 void NullProc(void)
 {
+#if 1
+ abort();
+#else
+#endif
 }
 
 void Default_InternSymbol(char *Asc, TempResult *Erg)
 {
+#if 1
+ abort();
+#else
   UNUSED(Asc);
 
   Erg->Typ = TempNone;
+#endif
 }
 
 void Default_DissectBit(char *pDest, size_t DestSize, LargeWord BitSpec)
 {
+#if 1
+ abort();
+#else
   HexString(pDest, DestSize, BitSpec, 0);
+#endif
 }
 
 static char *GetString(void)
 {
+#if 1
+ abort();
+#else
   return (char*)malloc(STRINGSIZE * sizeof(char));
+#endif
 }
 
 int SetMaxCodeLen(LongWord NewMaxCodeLen)
 {
+#if 1
+ abort();
+#else
   if (NewMaxCodeLen > MaxCodeLen_Max)
     return ENOMEM;
   if (NewMaxCodeLen > MaxCodeLen)
@@ -288,6 +311,7 @@ int SetMaxCodeLen(LongWord NewMaxCodeLen)
     MaxCodeLen = NewMaxCodeLen;
   }
   return 0;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -304,6 +328,9 @@ int SetMaxCodeLen(LongWord NewMaxCodeLen)
 
 void AppendArg(size_t ReqSize)
 {
+#if 1
+ abort();
+#else
   if (ArgCnt >= ArgCntMax)
     WrXError(ErrNum_InternalError, "MaxArgCnt");
   ++ArgCnt;
@@ -324,6 +351,7 @@ void AppendArg(size_t ReqSize)
     if (as_dynstr_realloc(&ArgStr[ArgCnt].str, as_dynstr_roundup_len(ReqSize)))
       WrXError(ErrNum_InternalError, "out of memory");
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -335,6 +363,9 @@ void AppendArg(size_t ReqSize)
 
 void InsertArg(int Index, size_t ReqSize)
 {
+#if 1
+ abort();
+#else
   int z;
 
   /* 0 should never be passed... */
@@ -363,25 +394,41 @@ void InsertArg(int Index, size_t ReqSize)
     if (as_dynstr_realloc(&ArgStr[Index].str, as_dynstr_roundup_len(ReqSize)))
       WrXError(ErrNum_InternalError, "out of memory");
   }
+#endif
 }
 
 Boolean SetIsOccupied(void)
 {
+#if 1
+ abort();
+#else
   return SetIsOccupiedFnc && SetIsOccupiedFnc();
+#endif
 }
 
 Boolean SaveIsOccupied(void)
 {
+#if 1
+ abort();
+#else
   return SaveIsOccupiedFnc && SaveIsOccupiedFnc();
+#endif
 }
 
 Boolean RestoreIsOccupied(void)
 {
+#if 1
+ abort();
+#else
   return RestoreIsOccupiedFnc && RestoreIsOccupiedFnc();
+#endif
 }
 
 void asmdef_init(void)
 {
+#if 1
+ abort();
+#else
   SwitchFrom = NullProc;
   InternSymbol = Default_InternSymbol;
   DissectBit = Default_DissectBit;
@@ -427,4 +474,5 @@ void asmdef_init(void)
   SegLimits = (LargeWord*)calloc(SegCount, sizeof(*SegLimits));
   Phases = (LargeWord*)calloc(SegCountPlusStruct, sizeof(*Phases));
   PCs = (LargeWord*)calloc(SegCountPlusStruct, sizeof(*PCs));
+#endif
 }
index 34cc3c4..b509b05 100644 (file)
@@ -38,6 +38,9 @@ static Boolean InExpect = False;
 
 static void ClearExpectErrors(void)
 {
+#if 1
+ abort();
+#else
   tExpectError *pOld;
 
   while (pExpectErrors)
@@ -46,16 +49,24 @@ static void ClearExpectErrors(void)
     pExpectErrors = pExpectErrors->pNext;
     free(pOld);
   }
+#endif
 }
 
 static void AddExpectError(tExpectError *pExpectError)
 {
+#if 1
+ abort();
+#else
   pExpectError->pNext = pExpectErrors;
   pExpectErrors = pExpectError;
+#endif
 }
 
 static tExpectError *FindAndTakeExpectError(tErrorNum Num)
 {
+#if 1
+ abort();
+#else
   tExpectError *pRun, *pPrev;
 
   for (pRun = pExpectErrors, pPrev = NULL; pRun; pPrev = pRun, pRun = pRun->pNext)
@@ -68,6 +79,7 @@ static tExpectError *FindAndTakeExpectError(tErrorNum Num)
       return pRun;
     }
   return NULL;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -82,6 +94,9 @@ static tExpectError *FindAndTakeExpectError(tErrorNum Num)
 
 static void GenLineMarker(char *pDest, unsigned DestSize, char Marker, const struct sLineComp *pLineComp, const char *pPrefix)
 {
+#if 1
+ abort();
+#else
   char *pRun;
   int z;
 
@@ -93,6 +108,7 @@ static void GenLineMarker(char *pDest, unsigned DestSize, char Marker, const str
   for (z = 0; (z < (int)pLineComp->Len) && (pRun - pDest + 1 < (int)DestSize); z++)
     *pRun++ = Marker;
   *pRun = '\0';
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -106,6 +122,9 @@ static void GenLineMarker(char *pDest, unsigned DestSize, char Marker, const str
 
 static void GenLineForMarking(char *pDest, unsigned DestSize, const char *pSrc, const char *pPrefix)
 {
+#if 1
+ abort();
+#else
   char *pRun;
 
   strmaxcpy(pDest, pPrefix, DestSize);
@@ -116,6 +135,7 @@ static void GenLineForMarking(char *pDest, unsigned DestSize, const char *pSrc,
   for (; *pSrc && (pRun - pDest + 1 < (int)DestSize); pSrc++)
     *pRun++ = TabCompressed(*pSrc);
   *pRun = '\0';
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -125,6 +145,9 @@ static void GenLineForMarking(char *pDest, unsigned DestSize, const char *pSrc,
 
 static void EmergencyStop(void)
 {
+#if 1
+ abort();
+#else
   CloseIfOpen(&ErrorFile);
   CloseIfOpen(&LstFile);
   if (ShareMode != 0)
@@ -149,6 +172,7 @@ static void EmergencyStop(void)
     CloseIfOpen(&PrgFile);
     unlink(OutName);
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -162,6 +186,9 @@ static void EmergencyStop(void)
 
 static const char *ErrorNum2String(tErrorNum Num, char *Buf, int BufSize)
 {
+#if 1
+ abort();
+#else
   int msgno = -1;
 
   *Buf = '\0';
@@ -670,6 +697,7 @@ static const char *ErrorNum2String(tErrorNum Num, char *Buf, int BufSize)
       as_snprintf(Buf, BufSize, "%s %d", getmessage(Num_ErrMsgIntError), (int) Num);
   }
   return (msgno != -1) ? getmessage(msgno) : Buf;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -686,6 +714,9 @@ static const char *ErrorNum2String(tErrorNum Num, char *Buf, int BufSize)
 void WrErrorString(const char *pMessage, const char *pAdd, Boolean Warning, Boolean Fatal,
                    const char *pExtendError, const struct sLineComp *pLineComp)
 {
+#if 1
+ abort();
+#else
   String ErrStr[4];
   unsigned ErrStrCount = 0, z;
   char *p;
@@ -780,6 +811,7 @@ void WrErrorString(const char *pMessage, const char *pAdd, Boolean Warning, Bool
     EmergencyStop();
     exit(3);
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -792,6 +824,9 @@ void WrErrorString(const char *pMessage, const char *pAdd, Boolean Warning, Bool
 
 void WrXErrorPos(tErrorNum Num, const char *pExtendError, const struct sLineComp *pLineComp)
 {
+#if 1
+ abort();
+#else
   String h;
   char Add[11];
   const char *pErrorMsg;
@@ -821,6 +856,7 @@ void WrXErrorPos(tErrorNum Num, const char *pExtendError, const struct sLineComp
   else
     *Add = '\0';
   WrErrorString(pErrorMsg, Add, Num < 1000, Num >= 10000, pExtendError, pLineComp);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -832,7 +868,11 @@ void WrXErrorPos(tErrorNum Num, const char *pExtendError, const struct sLineComp
 
 void WrStrErrorPos(tErrorNum Num, const struct sStrComp *pStrComp)
 {
+#if 1
+ abort();
+#else
   WrXErrorPos(Num, pStrComp->str.p_str, &pStrComp->Pos);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -843,7 +883,11 @@ void WrStrErrorPos(tErrorNum Num, const struct sStrComp *pStrComp)
 
 void WrError(tErrorNum Num)
 {
+#if 1
+ abort();
+#else
   WrXErrorPos(Num, NULL, NULL);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -855,7 +899,11 @@ void WrError(tErrorNum Num)
 
 void WrXError(tErrorNum Num, const char *pExtError)
 {
+#if 1
+ abort();
+#else
   WrXErrorPos(Num, pExtError, NULL);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -866,6 +914,9 @@ void WrXError(tErrorNum Num, const char *pExtError)
 
 void ChkIO(tErrorNum ErrNo)
 {
+#if 1
+ abort();
+#else
   int io;
 
   io = errno;
@@ -873,6 +924,7 @@ void ChkIO(tErrorNum ErrNo)
     return;
 
   WrXError(ErrNo, GetErrorMsg(io));
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -884,10 +936,14 @@ void ChkIO(tErrorNum ErrNo)
 
 void ChkXIO(tErrorNum ErrNo, char *pExtError)
 {
+#if 1
+ abort();
+#else
   tStrComp TmpComp;
 
   StrCompMkTemp(&TmpComp, pExtError, 0);
   ChkStrIO(ErrNo, &TmpComp);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -899,6 +955,9 @@ void ChkXIO(tErrorNum ErrNo, char *pExtError)
 
 void ChkStrIO(tErrorNum ErrNo, const struct sStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   int io;
   String s;
 
@@ -911,6 +970,7 @@ void ChkStrIO(tErrorNum ErrNo, const struct sStrComp *pComp)
     WrXErrorPos(ErrNo, s, &pComp->Pos);
   else
     WrXError(ErrNo, s);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -920,6 +980,9 @@ void ChkStrIO(tErrorNum ErrNo, const struct sStrComp *pComp)
 
 void CodeEXPECT(Word Code)
 {
+#if 1
+ abort();
+#else
   UNUSED(Code);
 
   if (!ChkArgCnt(1, ArgCntMax));
@@ -942,6 +1005,7 @@ void CodeEXPECT(Word Code)
     }
     InExpect = True;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -951,6 +1015,9 @@ void CodeEXPECT(Word Code)
 
 void CodeENDEXPECT(Word Code)
 {
+#if 1
+ abort();
+#else
   UNUSED(Code);
 
   if (!ChkArgCnt(0, 0));
@@ -969,6 +1036,7 @@ void CodeENDEXPECT(Word Code)
     }
     InExpect = False;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -978,10 +1046,14 @@ void CodeENDEXPECT(Word Code)
 
 void AsmErrPassInit(void)
 {
+#if 1
+ abort();
+#else
   ErrorCount = 0;
   WarnCount = 0;
   ClearExpectErrors();
   InExpect = False;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -991,8 +1063,12 @@ void AsmErrPassInit(void)
 
 void AsmErrPassExit(void)
 {
+#if 1
+ abort();
+#else
   if (InExpect)
     WrError(ErrNum_MissingENDEXPECT);
   ClearExpectErrors();
   InExpect = False;
+#endif
 }
index e9f469e..8d3ef4d 100644 (file)
@@ -26,6 +26,9 @@
 
 static Boolean AddSingle(PInstTreeNode *Node, char *NName, InstProc NProc, Word NIndex)
 {
+#if 1
+ abort();
+#else
   PInstTreeNode p1, p2;
   Boolean Result = False;
 
@@ -115,15 +118,23 @@ static Boolean AddSingle(PInstTreeNode *Node, char *NName, InstProc NProc, Word
       }
   }
   return Result;
+#endif
 }
 
 void AddInstTree(PInstTreeNode *Root, char *NName, InstProc NProc, Word NIndex)
 {
+#if 1
+ abort();
+#else
   AddSingle(Root, NName, NProc, NIndex);
+#endif
 }
 
 static void ClearSingle(PInstTreeNode *Node)
 {
+#if 1
+ abort();
+#else
   ChkStack();
 
   if (*Node)
@@ -134,15 +145,23 @@ static void ClearSingle(PInstTreeNode *Node)
     free(*Node);
     *Node = NULL;
   }
+#endif
 }
 
 void ClearInstTree(PInstTreeNode *Root)
 {
+#if 1
+ abort();
+#else
   ClearSingle(Root);
+#endif
 }
 
 Boolean SearchInstTree(PInstTreeNode Root, char *OpPart)
 {
+#if 1
+ abort();
+#else
   int z;
 
   z = 0;
@@ -159,10 +178,14 @@ Boolean SearchInstTree(PInstTreeNode Root, char *OpPart)
     Root->Proc(Root->Index);
     return True;
   }
+#endif
 }
 
 static void PNode(PInstTreeNode Node, Word Lev)
 {
+#if 1
+ abort();
+#else
   ChkStack();
   if (Node)
   {
@@ -170,27 +193,39 @@ static void PNode(PInstTreeNode Node, Word Lev)
     printf("%*s %s %p %p %d\n", 5 * Lev, "", Node->Name, (void*)Node->Left, (void*)Node->Right, Node->Balance);
     PNode(Node->Right, Lev + 1);
   }
+#endif
 }
 
 void PrintInstTree(PInstTreeNode Root)
 {
+#if 1
+ abort();
+#else
   PNode(Root, 0);
+#endif
 }
 
 /*----------------------------------------------------------------------------*/
 
 static int GetKey(const char *Name, LongWord TableSize)
 {
+#if 1
+ abort();
+#else
   register unsigned char *p;
   LongWord tmp = 0;
 
   for (p = (unsigned char *)Name; *p != '\0'; p++)
     tmp = (tmp << 2) + ((LongWord)*p);
   return tmp % TableSize;
+#endif
 }
 
 PInstTable CreateInstTable(int TableSize)
 {
+#if 1
+ abort();
+#else
   int z;
   PInstTableEntry tmp;
   PInstTable tab;
@@ -204,15 +239,23 @@ PInstTable CreateInstTable(int TableSize)
   tab->Entries = tmp;
   tab->Dynamic = FALSE;
   return tab;
+#endif
 }
 
 void SetDynamicInstTable(PInstTable Table)
 {
+#if 1
+ abort();
+#else
   Table->Dynamic = TRUE;
+#endif
 }
 
 void DestroyInstTable(PInstTable tab)
 {
+#if 1
+ abort();
+#else
   int z;
 
   if (tab->Dynamic)
@@ -221,10 +264,14 @@ void DestroyInstTable(PInstTable tab)
 
   free(tab->Entries);
   free(tab);
+#endif
 }
 
 void AddInstTable(PInstTable tab, const char *Name, Word Index, InstProc Proc)
 {
+#if 1
+ abort();
+#else
   LongWord h0 = GetKey(Name, tab->Size), z = 0;
 
   /* mindestens ein freies Element lassen, damit der Sucher garantiert terminiert */
@@ -254,10 +301,14 @@ void AddInstTable(PInstTable tab, const char *Name, Word Index, InstProc Proc)
     if ((LongInt)(++h0) == tab->Size)
       h0 = 0;
   }
+#endif
 }
 
 void RemoveInstTable(PInstTable tab, const char *Name)
 {
+#if 1
+ abort();
+#else
   LongWord h0 = GetKey(Name, tab->Size);
 
   while (1)
@@ -274,10 +325,14 @@ void RemoveInstTable(PInstTable tab, const char *Name)
     if ((LongInt)(++h0) == tab->Size)
       h0 = 0;
   }
+#endif
 }
 
 Boolean LookupInstTable(PInstTable tab, const char *Name)
 {
+#if 1
+ abort();
+#else
   LongWord h0 = GetKey(Name, tab->Size);
 
   while (1)
@@ -292,20 +347,29 @@ Boolean LookupInstTable(PInstTable tab, const char *Name)
     if ((LongInt)(++h0) == tab->Size)
       h0 = 0;
   }
+#endif
 }
 
 void PrintInstTable(FILE *stream, PInstTable tab)
 {
+#if 1
+ abort();
+#else
   int z;
 
   for (z = 0; z < tab->Size; z++)
     if (tab->Entries[z].Name)
       fprintf(stream, "[%3d]: %-10s Index %4d Coll %2d\n", z,
              tab->Entries[z].Name, tab->Entries[z].Index, tab->Entries[z].Coll);
+#endif
 }
 
 /*----------------------------------------------------------------------------*/
 
 void asmitree_init(void)
 {
+#if 1
+ abort();
+#else
+#endif
 }
index 5e7dc03..fc18a43 100644 (file)
@@ -190,6 +190,9 @@ static PFunction FirstFunction;             /* Liste definierter Funktionen */
 
 void AsmParsInit(void)
 {
+#if 1
+ abort();
+#else
   FirstSymbol = NULL;
 
   FirstLocSymbol = NULL; MomLocHandle = -1; SetMomSection(-1);
@@ -201,6 +204,7 @@ void AsmParsInit(void)
   RadixBase = 10;
   OutRadixBase = 16;
   RegistersDefined = False;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -212,11 +216,15 @@ void AsmParsInit(void)
 
 static Boolean range_not_checkable(IntType type)
 {
+#if 1
+ abort();
+#else
 #ifndef HAS64
   return (((int)type) >= ((int)SInt32));
 #else
   return (((int)type) >= ((int)SInt64));
 #endif
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -229,7 +237,11 @@ static Boolean range_not_checkable(IntType type)
 
 Boolean RangeCheck(LargeInt Wert, IntType Typ)
 {
+#if 1
+ abort();
+#else
   return range_not_checkable(Typ) || ((Wert >= IntTypeDefs[(int)Typ].Min) && (Wert <= IntTypeDefs[(int)Typ].Max));
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -243,7 +255,11 @@ Boolean RangeCheck(LargeInt Wert, IntType Typ)
 
 Boolean ChkRangeByType(LargeInt value, IntType type, const struct sStrComp *p_comp)
 {
+#if 1
+ abort();
+#else
   return range_not_checkable(type) || ChkRangePos(value, IntTypeDefs[(int)type].Min, IntTypeDefs[(int)type].Max, p_comp);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -257,11 +273,18 @@ Boolean ChkRangeByType(LargeInt value, IntType type, const struct sStrComp *p_co
 
 Boolean ChkRangeWarnByType(LargeInt value, IntType type, const struct sStrComp *p_comp)
 {
+#if 1
+ abort();
+#else
   return range_not_checkable(type) || ChkRangeWarnPos(value, IntTypeDefs[(int)type].Min, IntTypeDefs[(int)type].Max, p_comp);
+#endif
 }
 
 Boolean FloatRangeCheck(Double Wert, FloatType Typ)
 {
+#if 1
+ abort();
+#else
   /* NaN/Infinity is representable in all formats */
 
   int numclass = as_fpclassify(Wert);
@@ -285,10 +308,14 @@ Boolean FloatRangeCheck(Double Wert, FloatType Typ)
       return False;
   }
 /**   if (Typ == FloatDec) && (fabs(Wert) > 1e1000) WrError(ErrNum_BigDecFloat);**/
+#endif
 }
 
 Boolean SingleBit(LargeInt Inp, LargeInt *Erg)
 {
+#if 1
+ abort();
+#else
   *Erg = 0;
   do
   {
@@ -299,10 +326,14 @@ Boolean SingleBit(LargeInt Inp, LargeInt *Erg)
   }
   while ((*Erg != LARGEBITS) && (!Odd(Inp)));
   return (*Erg != LARGEBITS) && (Inp == 1);
-}      
+#endif
+}
 
 IntType GetSmallestUIntType(LargeWord MaxValue)
 {
+#if 1
+ abort();
+#else
   IntType Result;
 
   Result = (IntType) 0;
@@ -314,10 +345,14 @@ IntType GetSmallestUIntType(LargeWord MaxValue)
       return Result;
   }
   return UInt32;
+#endif
 }
 
 IntType GetUIntTypeByBits(unsigned Bits)
 {
+#if 1
+ abort();
+#else
   IntType Result;
   for (Result = (IntType) 0; Result < IntTypeCnt; Result++)
   {
@@ -328,10 +363,14 @@ IntType GetUIntTypeByBits(unsigned Bits)
   }
   fprintf(stderr, "define unsigned int type with %u bits\n", Bits);
   exit(255);
+#endif
 }
 
 static Boolean ProcessBk(char **Start, char *Erg)
 {
+#if 1
+ abort();
+#else
   LongInt System = 0, Acc = 0, Digit = 0;
   char ch;
   int cnt;
@@ -415,6 +454,7 @@ static Boolean ProcessBk(char **Start, char *Erg)
       WrError(ErrNum_InvEscSequence);
       return False;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -426,6 +466,9 @@ static Boolean ProcessBk(char **Start, char *Erg)
 
 LargeInt NonZString2Int(const struct as_nonz_dynstr *p_str)
 {
+#if 1
+ abort();
+#else
   if ((p_str->len > 0) && (p_str->len <= 4))
   {
     const char *pRun;
@@ -443,10 +486,14 @@ LargeInt NonZString2Int(const struct as_nonz_dynstr *p_str)
     return Result;
   }
   return -1;
+#endif
 }
 
 Boolean Int2NonZString(struct as_nonz_dynstr *p_str, LargeInt Src)
 {
+#if 1
+ abort();
+#else
   int Search;
   Byte Digit;
   char *pDest;
@@ -469,6 +516,7 @@ Boolean Int2NonZString(struct as_nonz_dynstr *p_str, LargeInt Src)
   }
   memmove(p_str->p_str, pDest, p_str->len);
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -480,6 +528,9 @@ Boolean Int2NonZString(struct as_nonz_dynstr *p_str, LargeInt Src)
 
 int TempResultToInt(TempResult *pResult)
 {
+#if 1
+ abort();
+#else
   switch (pResult->Typ)
   {
     case TempInt:
@@ -500,6 +551,7 @@ int TempResultToInt(TempResult *pResult)
       return -1;
   }
   return 0;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -512,6 +564,9 @@ int TempResultToInt(TempResult *pResult)
 
 Boolean MultiCharToInt(TempResult *pResult, unsigned MaxLen)
 {
+#if 1
+ abort();
+#else
   if ((pResult->Typ == TempString)
    && (pResult->Contents.str.len <= MaxLen)
    && (pResult->Flags & eSymbolFlag_StringSingleQuoted))
@@ -520,6 +575,7 @@ Boolean MultiCharToInt(TempResult *pResult, unsigned MaxLen)
     return True;
   }
   return False;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -533,6 +589,9 @@ Boolean MultiCharToInt(TempResult *pResult, unsigned MaxLen)
 
 Boolean ExpandStrSymbol(char *pDest, size_t DestSize, const tStrComp *pSrc)
 {
+#if 1
+ abort();
+#else
   tStrComp SrcComp;
   const char *pStart;
 
@@ -580,6 +639,7 @@ Boolean ExpandStrSymbol(char *pDest, size_t DestSize, const tStrComp *pSrc)
       return True;
     }
   }
+#endif
 }
 
 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
@@ -589,14 +649,21 @@ Boolean ExpandStrSymbol(char *pDest, size_t DestSize, const tStrComp *pSrc)
 
 void InitTmpSymbols(void)
 {
+#if 1
+ abort();
+#else
   TmpSymCounter = FwdSymCounter = BackSymCounter = 0;
   *TmpSymCounterVal = '\0';
   TmpSymLogDepth = 0;
   *LastGlobSymbol = '\0';
+#endif
 }
 
 static void AddTmpSymLog(Boolean Back, LongInt Counter)
 {
+#if 1
+ abort();
+#else
   /* shift out oldest value */
 
   if (TmpSymLogDepth)
@@ -612,10 +679,14 @@ static void AddTmpSymLog(Boolean Back, LongInt Counter)
   TmpSymLog[0].Counter = Counter;
   if (TmpSymLogDepth < LOCSYMSIGHT)
     TmpSymLogDepth++;
+#endif
 }
 
 static Boolean ChkTmp1(char *Name, as_symbol_source_t symbol_source)
 {
+#if 1
+ abort();
+#else
   char *Src, *Dest;
   Boolean Result = FALSE;
 
@@ -645,10 +716,14 @@ static Boolean ChkTmp1(char *Name, as_symbol_source_t symbol_source)
   }
 
   return Result;
+#endif
 }
 
 static Boolean ChkTmp2(char *pDest, const char *pSrc, as_symbol_source_t symbol_source)
 {
+#if 1
+ abort();
+#else
   const char *pRun, *pBegin, *pEnd;
   int Cnt;
   Boolean Result = FALSE;
@@ -734,10 +809,14 @@ static Boolean ChkTmp2(char *pDest, const char *pSrc, as_symbol_source_t symbol_
   }
 
   return Result;
+#endif
 }
 
 static Boolean ChkTmp3(char *Name, as_symbol_source_t symbol_source)
 {
+#if 1
+ abort();
+#else
   if ('.' == *Name)
   {
     strmaxprep2(Name, LastGlobSymbol, STRINGSIZE);
@@ -751,20 +830,28 @@ static Boolean ChkTmp3(char *Name, as_symbol_source_t symbol_source)
 #endif
     strmaxcpy(LastGlobSymbol, Name, STRINGSIZE);
   return False;
+#endif
 }
 
 static Boolean ChkTmp(char *Name, as_symbol_source_t symbol_source)
 {
+#if 1
+ abort();
+#else
   Boolean IsTmp1, IsTmp2, IsTmp3;
 
   IsTmp1 = ChkTmp1(Name, symbol_source);
   IsTmp2 = ChkTmp2(Name, Name, symbol_source);
   IsTmp3 = ChkTmp3(Name, IsTmp2 ? e_symbol_source_none : symbol_source);
   return IsTmp1 || IsTmp2 || IsTmp3;
+#endif
 }
 
 Boolean IdentifySection(const tStrComp *pName, LongInt *Erg)
 {
+#if 1
+ abort();
+#else
   PSaveSection SLauf;
   String ExpName;
   sint Depth;
@@ -825,10 +912,14 @@ Boolean IdentifySection(const tStrComp *pName, LongInt *Erg)
       return True;
     }
   }
+#endif
 }
 
 static Boolean GetSymSection(char *Name, LongInt *Erg, const tStrComp *pUnexpComp)
 {
+#if 1
+ abort();
+#else
   String Part;
   tStrComp TmpComp;
   char *q;
@@ -858,6 +949,7 @@ static Boolean GetSymSection(char *Name, LongInt *Erg, const tStrComp *pUnexpCom
 
   StrCompMkTemp(&TmpComp, Part, sizeof(Part));
   return IdentifySection(&TmpComp, Erg);
+#endif
 }
 
 /*****************************************************************************
@@ -868,6 +960,9 @@ static Boolean GetSymSection(char *Name, LongInt *Erg, const tStrComp *pUnexpCom
 
 static LargeInt ConstIntVal(const char *pExpr, IntType Typ, Boolean *pResult)
 {
+#if 1
+ abort();
+#else
   LargeInt Wert;
   Boolean NegFlag = False;
   int Digit;
@@ -939,6 +1034,7 @@ static LargeInt ConstIntVal(const char *pExpr, IntType Typ, Boolean *pResult)
     WrError(ErrNum_WOverRange);
     return Wert & IntTypeDefs[(int)Typ].Mask;
   }
+#endif
 }
 
 /*****************************************************************************
@@ -949,6 +1045,9 @@ static LargeInt ConstIntVal(const char *pExpr, IntType Typ, Boolean *pResult)
 
 static Double ConstFloatVal(const char *pExpr, FloatType Typ, Boolean *pResult)
 {
+#if 1
+ abort();
+#else
   Double Erg;
   char *pEnd;
 
@@ -981,6 +1080,7 @@ static Double ConstFloatVal(const char *pExpr, FloatType Typ, Boolean *pResult)
     *pResult = True;
   }
   return Erg;
+#endif
 }
 
 /*****************************************************************************
@@ -991,6 +1091,9 @@ static Double ConstFloatVal(const char *pExpr, FloatType Typ, Boolean *pResult)
 
 static void ConstStringVal(const tStrComp *pExpr, TempResult *pDest, Boolean *pResult)
 {
+#if 1
+ abort();
+#else
   tStrComp Raw, Copy, Remainder;
   char *pPos, QuoteChar;
   int l, TLen;
@@ -1141,6 +1244,7 @@ static void ConstStringVal(const tStrComp *pExpr, TempResult *pDest, Boolean *pR
   *pResult = True;
 func_exit:
   StrCompFree(&Raw);
+#endif
 }
 
 
@@ -1163,10 +1267,14 @@ const char *Name, TempType SearchType
 
 void EvalResultClear(tEvalResult *pResult)
 {
+#if 1
+ abort();
+#else
   pResult->OK = False;
   pResult->Flags = eSymbolFlag_None;
   pResult->AddrSpaceMask = 0;
   pResult->DataSize = eSymbolSizeUnknown;
+#endif
 }
 
 /*****************************************************************************
@@ -1179,6 +1287,9 @@ void EvalResultClear(tEvalResult *pResult)
 
 static tErrorNum DeduceExpectTypeErrMsgMask(unsigned Mask, TempType ActType)
 {
+#if 1
+ abort();
+#else
   switch (ActType)
   {
     case TempInt:
@@ -1233,15 +1344,23 @@ static tErrorNum DeduceExpectTypeErrMsgMask(unsigned Mask, TempType ActType)
     default:
       return ErrNum_InternalError;
   }
+#endif
 }
 
 static Byte GetOpTypeMask(Byte TotMask, int OpIndex)
 {
+#if 1
+ abort();
+#else
   return (TotMask >> (OpIndex * 4)) & 15;
+#endif
 }
 
 static Byte TryConvert(Byte TypeMask, TempType ActType, int OpIndex)
 {
+#if 1
+ abort();
+#else
   if (TypeMask & ActType)
     return 0 << (4 * OpIndex);
   if ((TypeMask & TempFloat) && (ActType == TempInt))
@@ -1251,10 +1370,14 @@ static Byte TryConvert(Byte TypeMask, TempType ActType, int OpIndex)
   if ((TypeMask & TempFloat) && (ActType == TempString))
     return (1|2) << (4 * OpIndex);
   return 255;
+#endif
 }
 
 void EvalStrExpression(const tStrComp *pExpr, TempResult *pErg)
 {
+#if 1
+ abort();
+#else
   const Operator *pOp;
   const Operator *FOps[OPERATOR_MAXCNT];
   LongInt FOpCnt = 0;
@@ -1807,18 +1930,26 @@ func_exit:
       FreeRelocs(&InVals[z1].Relocs);
     as_tempres_free(&InVals[z1]);
   }
+#endif
 }
 
 void EvalExpression(const char *pExpr, TempResult *pErg)
 {
+#if 1
+ abort();
+#else
   tStrComp Expr;
 
   StrCompMkTemp(&Expr, (char*)pExpr, 0);
   EvalStrExpression(&Expr, pErg);
+#endif
 }
 
 LargeInt EvalStrIntExpressionWithResult(const tStrComp *pComp, IntType Type, tEvalResult *pResult)
 {
+#if 1
+ abort();
+#else
   TempResult t;
   LargeInt Result = -1;
 
@@ -1895,10 +2026,14 @@ LargeInt EvalStrIntExpressionWithResult(const tStrComp *pComp, IntType Type, tEv
 func_exit:
   as_tempres_free(&t);
   return Result;
+#endif
 }
 
 LargeInt EvalStrIntExpressionWithFlags(const tStrComp *pComp, IntType Type, Boolean *pResult, tSymbolFlags *pFlags)
 {
+#if 1
+ abort();
+#else
   tEvalResult EvalResult;
   LargeInt Result = EvalStrIntExpressionWithResult(pComp, Type, &EvalResult);
 
@@ -1906,19 +2041,27 @@ LargeInt EvalStrIntExpressionWithFlags(const tStrComp *pComp, IntType Type, Bool
   if (pFlags)
     *pFlags = EvalResult.Flags;
   return Result;
+#endif
 }
 
 LargeInt EvalStrIntExpression(const tStrComp *pComp, IntType Type, Boolean *pResult)
 {
+#if 1
+ abort();
+#else
   tEvalResult EvalResult;
   LargeInt Result = EvalStrIntExpressionWithResult(pComp, Type, &EvalResult);
 
   *pResult = EvalResult.OK;
   return Result;
+#endif
 }
 
 LargeInt EvalStrIntExpressionOffsWithResult(const tStrComp *pExpr, int Offset, IntType Type, tEvalResult *pResult)
 {
+#if 1
+ abort();
+#else
   if (Offset)
   {
     tStrComp Comp;
@@ -1928,10 +2071,14 @@ LargeInt EvalStrIntExpressionOffsWithResult(const tStrComp *pExpr, int Offset, I
   }
   else
     return EvalStrIntExpressionWithResult(pExpr, Type, pResult);
+#endif
 }
 
 LargeInt EvalStrIntExpressionOffsWithFlags(const tStrComp *pComp, int Offset, IntType Type, Boolean *pResult, tSymbolFlags *pFlags)
 {
+#if 1
+ abort();
+#else
   tEvalResult EvalResult;
   LargeInt Result = EvalStrIntExpressionOffsWithResult(pComp, Offset, Type, &EvalResult);
 
@@ -1939,19 +2086,27 @@ LargeInt EvalStrIntExpressionOffsWithFlags(const tStrComp *pComp, int Offset, In
   if (pFlags)
     *pFlags = EvalResult.Flags;
   return Result;
+#endif
 }
 
 LargeInt EvalStrIntExpressionOffs(const tStrComp *pComp, int Offset, IntType Type, Boolean *pResult)
 {
+#if 1
+ abort();
+#else
   tEvalResult EvalResult;
   LargeInt Result = EvalStrIntExpressionOffsWithResult(pComp, Offset, Type, &EvalResult);
 
   *pResult = EvalResult.OK;
   return Result;
+#endif
 }
 
 Double EvalStrFloatExpressionWithResult(const tStrComp *pExpr, FloatType Type, tEvalResult *pResult)
 {
+#if 1
+ abort();
+#else
   TempResult t;
   Double Result = -1;
 
@@ -1988,20 +2143,28 @@ Double EvalStrFloatExpressionWithResult(const tStrComp *pExpr, FloatType Type, t
 func_exit:
   as_tempres_free(&t);
   return Result;
+#endif
 }
 
 Double EvalStrFloatExpression(const tStrComp *pExpr, FloatType Type, Boolean *pResult)
 {
+#if 1
+ abort();
+#else
   Double Ret;
   tEvalResult Result;
 
   Ret = EvalStrFloatExpressionWithResult(pExpr, Type, &Result);
   *pResult = Result.OK;
   return Ret;
+#endif
 }
 
 void EvalStrStringExpressionWithResult(const tStrComp *pExpr, tEvalResult *pResult, char *pEvalResult)
 {
+#if 1
+ abort();
+#else
   TempResult t;
 
   as_tempres_ini(&t);
@@ -2034,14 +2197,19 @@ void EvalStrStringExpressionWithResult(const tStrComp *pExpr, tEvalResult *pResu
     pResult->OK = True;
   }
   as_tempres_free(&t);
+#endif
 }
 
 void EvalStrStringExpression(const tStrComp *pExpr, Boolean *pResult, char *pEvalResult)
 {
+#if 1
+ abort();
+#else
   tEvalResult Result;
 
   EvalStrStringExpressionWithResult(pExpr, &Result, pEvalResult);
   *pResult = Result.OK;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2056,6 +2224,9 @@ void EvalStrStringExpression(const tStrComp *pExpr, Boolean *pResult, char *pEva
 
 PSymbolEntry ExpandAndFindNode(const struct sStrComp *pComp, TempType SearchType)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
   const char *pKlPos;
@@ -2073,10 +2244,14 @@ PSymbolEntry ExpandAndFindNode(const struct sStrComp *pComp, TempType SearchType
   if (!pEntry)
     pEntry = FindNode(ExpName, SearchType);
   return pEntry;
+#endif
 }
 
 tErrorNum EvalStrRegExpressionWithResult(const struct sStrComp *pExpr, tRegDescr *pResult, tEvalResult *pEvalResult)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
 
   EvalResultClear(pEvalResult);
@@ -2097,6 +2272,7 @@ tErrorNum EvalStrRegExpressionWithResult(const struct sStrComp *pExpr, tRegDescr
 
   pEvalResult->OK = True;
   return ErrNum_None;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2112,6 +2288,9 @@ tErrorNum EvalStrRegExpressionWithResult(const struct sStrComp *pExpr, tRegDescr
 
 tRegEvalResult EvalStrRegExpressionAsOperand(const tStrComp *pArg, struct sRegDescr *pResult, struct sEvalResult *pEvalResult, tSymbolSize ReqSize, Boolean MustBeReg)
 {
+#if 1
+ abort();
+#else
   tErrorNum ErrorNum;
 
   ErrorNum = EvalStrRegExpressionWithResult(pArg, pResult, pEvalResult);
@@ -2150,10 +2329,14 @@ tRegEvalResult EvalStrRegExpressionAsOperand(const tStrComp *pArg, struct sRegDe
       WrStrErrorPos(ErrorNum, pArg);
       return MustBeReg ? eIsNoReg : eRegAbort;
   }
+#endif
 }
 
 static void FreeSymbolEntry(PSymbolEntry *Node, Boolean Destroy)
 {
+#if 1
+ abort();
+#else
   PCrossRef Lauf;
 
   if ((*Node)->Tree.Name)
@@ -2178,6 +2361,7 @@ static void FreeSymbolEntry(PSymbolEntry *Node, Boolean Destroy)
     free(*Node);
     Node = NULL;
   }
+#endif
 }
 
 static char *serr, *snum;
@@ -2188,6 +2372,9 @@ typedef struct
 
 static Boolean SymbolAdder(PTree *PDest, PTree Neu, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry NewEntry = (PSymbolEntry)Neu, *Node;
   PEnterStruct EnterStruct = (PEnterStruct) pData;
 
@@ -2306,10 +2493,14 @@ static Boolean SymbolAdder(PTree *PDest, PTree Neu, void *pData)
     FreeSymbolEntry(Node, False);
     return True;
   }
+#endif
 }
 
 static void EnterLocSymbol(PSymbolEntry Neu)
 {
+#if 1
+ abort();
+#else
   TEnterStruct EnterStruct;
   PTree TreeRoot;
 
@@ -2320,12 +2511,16 @@ static void EnterLocSymbol(PSymbolEntry Neu)
   TreeRoot = &FirstLocSymbol->Tree;
   EnterTree(&TreeRoot, (&Neu->Tree), SymbolAdder, &EnterStruct);
   FirstLocSymbol = (PSymbolEntry)TreeRoot;
+#endif
 }
 
 static void EnterSymbol_Search(PForwardSymbol *Lauf, PForwardSymbol *Prev,
                                PForwardSymbol **RRoot, PSymbolEntry Neu,
                                PForwardSymbol *Root, Byte ResCode, Byte *SearchErg)
 {
+#if 1
+ abort();
+#else
   *Lauf = (*Root);
   *Prev = NULL;
   *RRoot = Root;
@@ -2336,10 +2531,14 @@ static void EnterSymbol_Search(PForwardSymbol *Lauf, PForwardSymbol *Prev,
   }
   if (*Lauf)
     *SearchErg = ResCode;
+#endif
 }
 
 static void EnterSymbol(PSymbolEntry Neu, Boolean MayChange, LongInt ResHandle)
 {
+#if 1
+ abort();
+#else
   PForwardSymbol Lauf, Prev;
   PForwardSymbol *RRoot;
   Byte SearchErg;
@@ -2408,14 +2607,19 @@ static void EnterSymbol(PSymbolEntry Neu, Boolean MayChange, LongInt ResHandle)
   }
   EnterTree(&TreeRoot, &(Neu->Tree), SymbolAdder, &EnterStruct);
   FirstSymbol = (PSymbolEntry)TreeRoot;
+#endif
 }
 
 void PrintSymTree(char *Name)
 {
+#if 1
+ abort();
+#else
   fprintf(Debug, "---------------------\n");
   fprintf(Debug, "Enter Symbol %s\n\n", Name);
   PrintSymbolTree();
   PrintSymbolDepth();
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2427,12 +2631,16 @@ void PrintSymTree(char *Name)
 
 void ChangeSymbol(PSymbolEntry pEntry, LargeInt Value)
 {
+#if 1
+ abort();
+#else
   if (!pEntry->changed)
   {
     pEntry->unchanged_value = (pEntry->SymWert.Typ == TempInt) ? pEntry->SymWert.Contents.Int : 0;
     pEntry->changed = True;
   }
   as_tempres_set_int(&pEntry->SymWert, Value);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2446,6 +2654,9 @@ void ChangeSymbol(PSymbolEntry pEntry, LargeInt Value)
 
 PSymbolEntry CreateSymbolEntry(const tStrComp *pName, LongInt *pDestHandle, tSymbolFlags symbol_flags)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pNeu;
   String ExtName;
 
@@ -2463,6 +2674,7 @@ PSymbolEntry CreateSymbolEntry(const tStrComp *pName, LongInt *pDestHandle, tSym
   pNeu->Tree.Name = as_strdup(ExtName);
   as_tempres_ini(&pNeu->SymWert);
   return pNeu;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2478,6 +2690,9 @@ PSymbolEntry CreateSymbolEntry(const tStrComp *pName, LongInt *pDestHandle, tSym
 
 PSymbolEntry EnterIntSymbolWithFlags(const tStrComp *pName, LargeInt Wert, as_addrspace_t addrspace, Boolean MayChange, tSymbolFlags Flags)
 {
+#if 1
+ abort();
+#else
   LongInt DestHandle;
   PSymbolEntry pNeu = CreateSymbolEntry(pName, &DestHandle, Flags);
 
@@ -2500,6 +2715,7 @@ PSymbolEntry EnterIntSymbolWithFlags(const tStrComp *pName, LargeInt Wert, as_ad
   else
     EnterLocSymbol(pNeu);
   return pNeu;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2513,6 +2729,9 @@ PSymbolEntry EnterIntSymbolWithFlags(const tStrComp *pName, LargeInt Wert, as_ad
 
 void EnterExtSymbol(const tStrComp *pName, LargeInt Wert, as_addrspace_t addrspace, Boolean MayChange)
 {
+#if 1
+ abort();
+#else
   LongInt DestHandle;
   PSymbolEntry pNeu = CreateSymbolEntry(pName, &DestHandle, eSymbolFlag_None);
 
@@ -2537,6 +2756,7 @@ void EnterExtSymbol(const tStrComp *pName, LargeInt Wert, as_addrspace_t addrspa
   }
   else
     EnterLocSymbol(pNeu);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2551,6 +2771,9 @@ void EnterExtSymbol(const tStrComp *pName, LargeInt Wert, as_addrspace_t addrspa
 
 PSymbolEntry EnterRelSymbol(const tStrComp *pName, LargeInt Wert, as_addrspace_t addrspace, Boolean MayChange)
 {
+#if 1
+ abort();
+#else
   LongInt DestHandle;
   PSymbolEntry pNeu = CreateSymbolEntry(pName, &DestHandle, eSymbolFlag_None);
 
@@ -2577,6 +2800,7 @@ PSymbolEntry EnterRelSymbol(const tStrComp *pName, LargeInt Wert, as_addrspace_t
     EnterLocSymbol(pNeu);
 
   return pNeu;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2589,6 +2813,9 @@ PSymbolEntry EnterRelSymbol(const tStrComp *pName, LargeInt Wert, as_addrspace_t
 
 void EnterFloatSymbol(const tStrComp *pName, Double Wert, Boolean MayChange)
 {
+#if 1
+ abort();
+#else
   LongInt DestHandle;
   PSymbolEntry pNeu = CreateSymbolEntry(pName, &DestHandle, eSymbolFlag_None);
 
@@ -2610,6 +2837,7 @@ void EnterFloatSymbol(const tStrComp *pName, Double Wert, Boolean MayChange)
   }
   else
     EnterLocSymbol(pNeu);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2623,6 +2851,9 @@ void EnterFloatSymbol(const tStrComp *pName, Double Wert, Boolean MayChange)
 
 void EnterNonZStringSymbolWithFlags(const tStrComp *pName, const as_nonz_dynstr_t *p_value, Boolean MayChange, tSymbolFlags Flags)
 {
+#if 1
+ abort();
+#else
   LongInt DestHandle;
   PSymbolEntry pNeu = CreateSymbolEntry(pName, &DestHandle, Flags);
 
@@ -2649,6 +2880,7 @@ void EnterNonZStringSymbolWithFlags(const tStrComp *pName, const as_nonz_dynstr_
   }
   else
     EnterLocSymbol(pNeu);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2661,11 +2893,15 @@ void EnterNonZStringSymbolWithFlags(const tStrComp *pName, const as_nonz_dynstr_
 
 void EnterStringSymbol(const tStrComp *pName, const char *pValue, Boolean MayChange)
 {
+#if 1
+ abort();
+#else
   as_nonz_dynstr_t NonZString;
 
   as_nonz_dynstr_ini_c_str(&NonZString, pValue);
   EnterNonZStringSymbol(pName, &NonZString, MayChange);
   as_nonz_dynstr_free(&NonZString);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2680,6 +2916,9 @@ void EnterStringSymbol(const tStrComp *pName, const char *pValue, Boolean MayCha
 
 void EnterRegSymbol(const struct sStrComp *pName, const tRegDescr *pDescr, tSymbolSize Size, Boolean MayChange, Boolean AddList)
 {
+#if 1
+ abort();
+#else
   LongInt DestHandle;
   PSymbolEntry pNeu = CreateSymbolEntry(pName, &DestHandle, eSymbolFlag_None);
 
@@ -2708,10 +2947,14 @@ void EnterRegSymbol(const struct sStrComp *pName, const tRegDescr *pDescr, tSymb
     *ListLine = '=';
     pDescr->Dissect(&ListLine[1], STRINGSIZE - 1, pDescr->Reg, Size);
   }
+#endif
 }
 
 static void AddReference(PSymbolEntry Node)
 {
+#if 1
+ abort();
+#else
   PCrossRef Lauf, Neu;
 
   /* Speicher belegen */
@@ -2752,10 +2995,14 @@ static void AddReference(PSymbolEntry Node)
       Lauf = Lauf->Next;
     Lauf->Next = Neu;
   }
+#endif
 }
 
 static PSymbolEntry FindNode_FNode(char *Name, TempType SearchType, LongInt Handle)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Lauf;
 
   Lauf = (PSymbolEntry) SearchTree((PTree)FirstSymbol, Name, Handle);
@@ -2772,17 +3019,25 @@ static PSymbolEntry FindNode_FNode(char *Name, TempType SearchType, LongInt Hand
   }
 
   return Lauf;
+#endif
 }
 
 static Boolean FindNode_FSpec(char *Name, PForwardSymbol Root)
 {
+#if 1
+ abort();
+#else
   while ((Root) && (strcmp(Root->Name, Name)))
     Root = Root->Next;
   return (Root != NULL);
+#endif
 }
 
 static PSymbolEntry FindNode(const char *Name_O, TempType SearchType)
 {
+#if 1
+ abort();
+#else
   PSaveSection Lauf;
   LongInt DestSection;
   PSymbolEntry Result = NULL;
@@ -2820,10 +3075,14 @@ static PSymbolEntry FindNode(const char *Name_O, TempType SearchType)
     Result = FindNode_FNode(Name, SearchType, DestSection);
 
   return Result;
+#endif
 }
 
 static PSymbolEntry FindLocNode_FNode(char *Name, TempType SearchType, LongInt Handle)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Lauf;
 
   Lauf = (PSymbolEntry) SearchTree((PTree)FirstLocSymbol, Name, Handle);
@@ -2835,10 +3094,14 @@ static PSymbolEntry FindLocNode_FNode(char *Name, TempType SearchType, LongInt H
   }
 
   return Lauf;
+#endif
 }
 
 static PSymbolEntry FindLocNode(const char *Name_O, TempType SearchType)
 {
+#if 1
+ abort();
+#else
   PLocHandle RunLocHandle;
   PSymbolEntry Result = NULL;
   String Name;
@@ -2865,10 +3128,14 @@ static PSymbolEntry FindLocNode(const char *Name_O, TempType SearchType)
   }
 
   return Result;
+#endif
 }
 /**
 void SetSymbolType(const tStrComp *pName, Byte NTyp)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Lauf;
   Boolean HRef;
   String ExpName;
@@ -2883,11 +3150,15 @@ void SetSymbolType(const tStrComp *pName, Byte NTyp)
   if (Lauf)
     Lauf->SymType = NTyp;
   DoRefs = HRef;
+#endif
 }
 **/
 
 void LookupSymbol(const struct sStrComp *pComp, TempResult *pValue, Boolean WantRelocs, TempType ReqType)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
   const char *pKlPos;
@@ -2942,6 +3213,7 @@ void LookupSymbol(const struct sStrComp *pComp, TempResult *pValue, Boolean Want
   }
   else
     WrStrErrorPos(ErrNum_SymbolUndef, pComp);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2953,6 +3225,9 @@ void LookupSymbol(const struct sStrComp *pComp, TempResult *pValue, Boolean Want
 
 void SetSymbolOrStructElemSize(const struct sStrComp *pName, tSymbolSize Size)
 {
+#if 1
+ abort();
+#else
   if (pInnermostNamedStruct)
     SetStructElemSize(pInnermostNamedStruct->StructRec, pName->str.p_str, Size);
   else
@@ -2972,6 +3247,7 @@ void SetSymbolOrStructElemSize(const struct sStrComp *pName, tSymbolSize Size)
       pEntry->SymWert.DataSize = Size;
     DoRefs = HRef;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -2983,6 +3259,9 @@ void SetSymbolOrStructElemSize(const struct sStrComp *pName, tSymbolSize Size)
 
 ShortInt GetSymbolSize(const struct sStrComp *pName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
 
@@ -2992,6 +3271,7 @@ ShortInt GetSymbolSize(const struct sStrComp *pName)
   if (!pEntry)
     pEntry = FindNode(ExpName, TempInt);
   return pEntry ? pEntry->SymWert.DataSize : eSymbolSizeUnknown;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -3003,6 +3283,9 @@ ShortInt GetSymbolSize(const struct sStrComp *pName)
 
 Boolean IsSymbolDefined(const struct sStrComp *pName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
 
@@ -3013,6 +3296,7 @@ Boolean IsSymbolDefined(const struct sStrComp *pName)
   if (!pEntry)
     pEntry = FindNode(ExpName, TempAll);
   return pEntry && pEntry->Defined;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -3024,6 +3308,9 @@ Boolean IsSymbolDefined(const struct sStrComp *pName)
 
 Boolean IsSymbolUsed(const struct sStrComp *pName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
 
@@ -3034,6 +3321,7 @@ Boolean IsSymbolUsed(const struct sStrComp *pName)
   if (!pEntry)
     pEntry = FindNode(ExpName, TempAll);
   return pEntry && pEntry->Used;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -3045,6 +3333,9 @@ Boolean IsSymbolUsed(const struct sStrComp *pName)
 
 Boolean IsSymbolChangeable(const struct sStrComp *pName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
 
@@ -3055,6 +3346,7 @@ Boolean IsSymbolChangeable(const struct sStrComp *pName)
   if (!pEntry)
     pEntry = FindNode(ExpName, TempAll);
   return pEntry && pEntry->Changeable;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -3066,16 +3358,23 @@ Boolean IsSymbolChangeable(const struct sStrComp *pName)
 
 as_addrspace_t addrspace_from_mask(unsigned mask)
 {
+#if 1
+ abort();
+#else
   as_addrspace_t space;
 
   for (space = SegCode; space < SegCount; space++)
     if (mask & (1 << space))
       return space;
   return SegNone;
+#endif
 }
 
 Integer GetSymbolType(const struct sStrComp *pName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pEntry;
   String ExpName;
 
@@ -3092,6 +3391,7 @@ Integer GetSymbolType(const struct sStrComp *pName)
     return 0x80;
   else
     return addrspace_from_mask(pEntry->SymWert.AddrSpaceMask);
+#endif
 }
 
 typedef struct
@@ -3106,6 +3406,9 @@ typedef struct
 
 static void PrintSymbolList_AddOut(char *s, TListContext *pContext)
 {
+#if 1
+ abort();
+#else
   int AddVisibleLen = visible_strlen(s),
       AddLen = strlen(s);
 
@@ -3123,10 +3426,14 @@ static void PrintSymbolList_AddOut(char *s, TListContext *pContext)
     pContext->ZeilenrestLen += AddLen;
     pContext->ZeilenrestVisibleLen += AddVisibleLen;
   }
+#endif
 }
 
 static void PrintSymbolList_PNode(PTree Tree, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Node = (PSymbolEntry) Tree;
 
   if (Node->SymWert.Typ != TempReg)
@@ -3151,10 +3458,14 @@ static void PrintSymbolList_PNode(PTree Tree, void *pData)
     if (!Node->Used)
       pContext->USum++;
   }
+#endif
 }
 
 void PrintSymbolList(void)
 {
+#if 1
+ abort();
+#else
   int ActPageWidth;
   TListContext Context;
 
@@ -3191,6 +3502,7 @@ void PrintSymbolList(void)
   as_dynstr_free(&Context.s1);
   as_dynstr_free(&Context.sh);
   as_dynstr_free(&Context.Zeilenrest);
+#endif
 }
 
 typedef struct
@@ -3203,14 +3515,21 @@ typedef struct
 
 static Boolean match_space_mask(unsigned mask, as_addrspace_t space)
 {
+#if 1
+ abort();
+#else
   if (SegNone == space)
     return !mask;
   else
     return !!((mask >> space) & 1);
+#endif
 }
 
 static void PrintDebSymbols_PNode(PTree Tree, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Node = (PSymbolEntry) Tree;
   TDebContext *DebContext = (TDebContext*) pData;
   int l1;
@@ -3263,10 +3582,14 @@ static void PrintDebSymbols_PNode(PTree Tree, void *pData)
   }
   fprintf(DebContext->f, "%s %-3d %d %d\n", Blanks(25 - l1), Node->SymWert.DataSize, (int)Node->Used, (int)Node->Changeable);
   ChkIO(ErrNum_FileWriteError);
+#endif
 }
 
 void PrintDebSymbols(FILE *f)
 {
+#if 1
+ abort();
+#else
   TDebContext DebContext;
 
   as_dynstr_ini(&DebContext.s, 256);
@@ -3277,6 +3600,7 @@ void PrintDebSymbols(FILE *f)
     IterTree((PTree)FirstSymbol, PrintDebSymbols_PNode, &DebContext);
   }
   as_dynstr_free(&DebContext.s);
+#endif
 }
 
 typedef struct
@@ -3287,6 +3611,9 @@ typedef struct
 
 static void PrNoISection(PTree Tree, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Node = (PSymbolEntry)Tree;
   TNoISymContext *pContext = (TNoISymContext*) pData;
 
@@ -3296,10 +3623,14 @@ static void PrNoISection(PTree Tree, void *pData)
     errno = 0; fprintf(pContext->f, LargeHIntFormat, Node->SymWert.Contents.Int); ChkIO(ErrNum_FileWriteError);
     errno = 0; fprintf(pContext->f, "\n"); ChkIO(ErrNum_FileWriteError);
   }
+#endif
 }
 
 void PrintNoISymbols(FILE *f)
 {
+#if 1
+ abort();
+#else
   PCToken CurrSection;
   TNoISymContext Context;
 
@@ -3319,23 +3650,35 @@ void PrintNoISymbols(FILE *f)
      fprintf(f, LargeIntFormat, ChunkMax(&CurrSection->Usage)); ChkIO(ErrNum_FileWriteError);
      fprintf(f, "\n"); ChkIO(ErrNum_FileWriteError);
    }
+#endif
 }
 
 void PrintSymbolTree(void)
 {
+#if 1
+ abort();
+#else
   DumpTree((PTree)FirstSymbol);
+#endif
 }
 
 static void ClearSymbolList_ClearNode(PTree Node, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry SymbolEntry = (PSymbolEntry) Node;
   UNUSED(pData);
 
   FreeSymbolEntry(&SymbolEntry, FALSE);
+#endif
 }
 
 void ClearSymbolList(void)
 {
+#if 1
+ abort();
+#else
   PTree TreeRoot;
 
   TreeRoot = &(FirstSymbol->Tree);
@@ -3344,6 +3687,7 @@ void ClearSymbolList(void)
   TreeRoot = &(FirstLocSymbol->Tree);
   FirstLocSymbol = NULL;
   DestroyTree(&TreeRoot, ClearSymbolList_ClearNode, NULL);
+#endif
 }
 
 /*-------------------------------------------------------------------------*/
@@ -3351,6 +3695,9 @@ void ClearSymbolList(void)
 
 Boolean PushSymbol(const tStrComp *pSymName, const tStrComp *pStackName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pSrc;
   PSymbolStack LStack, NStack, PStack;
   PSymbolStackEntry Elem;
@@ -3406,10 +3753,14 @@ Boolean PushSymbol(const tStrComp *pSymName, const tStrComp *pStackName)
   LStack->Contents = Elem;
 
   return True;
+#endif
 }
 
 Boolean PopSymbol(const tStrComp *pSymName, const tStrComp *pStackName)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry pDest;
   PSymbolStack LStack, PStack;
   PSymbolStackEntry Elem;
@@ -3467,10 +3818,14 @@ Boolean PopSymbol(const tStrComp *pSymName, const tStrComp *pStackName)
   free(Elem);
 
   return True;
+#endif
 }
 
 void ClearStacks(void)
 {
+#if 1
+ abort();
+#else
   PSymbolStack Act;
   PSymbolStackEntry Elem;
   int z;
@@ -3493,6 +3848,7 @@ void ClearStacks(void)
     FirstStack = Act->Next;
     free(Act);
   }
+#endif
 }
 
 /*-------------------------------------------------------------------------*/
@@ -3500,6 +3856,9 @@ void ClearStacks(void)
 
 void EnterFunction(const tStrComp *pComp, char *FDefinition, Byte NewCnt)
 {
+#if 1
+ abort();
+#else
   PFunction Neu;
   String FName_N;
   const char *pFName;
@@ -3532,10 +3891,14 @@ void EnterFunction(const tStrComp *pComp, char *FDefinition, Byte NewCnt)
   Neu->Name = as_strdup(pFName);
   Neu->Definition = as_strdup(FDefinition);
   FirstFunction = Neu;
+#endif
 }
 
 PFunction FindFunction(const char *Name)
 {
+#if 1
+ abort();
+#else
   PFunction Lauf = FirstFunction;
   String Name_N;
 
@@ -3549,10 +3912,14 @@ PFunction FindFunction(const char *Name)
   while ((Lauf) && (strcmp(Lauf->Name, Name)))
     Lauf = Lauf->Next;
   return Lauf;
+#endif
 }
 
 void PrintFunctionList(void)
 {
+#if 1
+ abort();
+#else
   PFunction Lauf;
   String OneS;
   Boolean cnt;
@@ -3588,10 +3955,14 @@ void PrintFunctionList(void)
     WrLstLine(OneS);
   }
   WrLstLine("");
+#endif
 }
 
 void ClearFunctionList(void)
 {
+#if 1
+ abort();
+#else
   PFunction Lauf;
 
   while (FirstFunction)
@@ -3602,36 +3973,52 @@ void ClearFunctionList(void)
     free(FirstFunction);
     FirstFunction = Lauf;
   }
+#endif
 }
 
 /*-------------------------------------------------------------------------*/
 
 static void ResetSymbolDefines_ResetNode(PTree Node, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry SymbolEntry = (PSymbolEntry) Node;
   UNUSED(pData);
 
   SymbolEntry->Defined = False;
   SymbolEntry->Used = False;
+#endif
 }
 
 void ResetSymbolDefines(void)
 {
+#if 1
+ abort();
+#else
   IterTree(&(FirstSymbol->Tree), ResetSymbolDefines_ResetNode, NULL);
   IterTree(&(FirstLocSymbol->Tree), ResetSymbolDefines_ResetNode, NULL);
+#endif
 }
 
 void SetFlag(Boolean *Flag, const char *Name, Boolean Wert)
 {
+#if 1
+ abort();
+#else
   tStrComp TmpComp;
 
   *Flag = Wert;
   StrCompMkTemp(&TmpComp, (char*)Name, 0);
   EnterIntSymbol(&TmpComp, *Flag ? 1 : 0, SegNone, True);
+#endif
 }
 
 void AddDefSymbol(char *Name, TempResult *Value)
 {
+#if 1
+ abort();
+#else
   PDefSymbol Neu;
 
   Neu = FirstDefSymbol;
@@ -3647,10 +4034,14 @@ void AddDefSymbol(char *Name, TempResult *Value)
   Neu->SymName = as_strdup(Name);
   Neu->Wert = (*Value);
   FirstDefSymbol = Neu;
+#endif
 }
 
 void RemoveDefSymbol(char *Name)
 {
+#if 1
+ abort();
+#else
   PDefSymbol Save, Lauf;
 
   if (!FirstDefSymbol)
@@ -3673,10 +4064,14 @@ void RemoveDefSymbol(char *Name)
   }
   free(Save->SymName);
   free(Save);
+#endif
 }
 
 void CopyDefSymbols(void)
 {
+#if 1
+ abort();
+#else
   PDefSymbol Lauf;
   tStrComp TmpComp;
 
@@ -3702,29 +4097,41 @@ void CopyDefSymbols(void)
     }
     Lauf = Lauf->Next;
   }
+#endif
 }
 
 const TempResult *FindDefSymbol(const char *pName)
 {
+#if 1
+ abort();
+#else
   PDefSymbol pRun;
 
   for (pRun = FirstDefSymbol; pRun; pRun = pRun->Next)
     if (!strcmp(pName, pRun->SymName))
       return &pRun->Wert;
   return NULL;
+#endif
 }
 
 void PrintSymbolDepth(void)
 {
+#if 1
+ abort();
+#else
   LongInt TreeMin, TreeMax;
 
   GetTreeDepth(&(FirstSymbol->Tree), &TreeMin, &TreeMax);
   fprintf(Debug, " MinTree %ld\n", (long)TreeMin);
   fprintf(Debug, " MaxTree %ld\n", (long)TreeMax);
+#endif
 }
 
 LongInt GetSectionHandle(char *SName_O, Boolean AddEmpt, LongInt Parent)
 {
+#if 1
+ abort();
+#else
   PCToken Lauf, Prev;
   LongInt z;
   String SName;
@@ -3761,10 +4168,14 @@ LongInt GetSectionHandle(char *SName_O, Boolean AddEmpt, LongInt Parent)
       z = -2;
   }
   return z;
+#endif
 }
 
 const char *GetSectionName(LongInt Handle)
 {
+#if 1
+ abort();
+#else
   PCToken Lauf = FirstSection;
   static const char *Dummy = "";
 
@@ -3776,10 +4187,14 @@ const char *GetSectionName(LongInt Handle)
     Handle--;
   }
   return Lauf ? Lauf->Name : Dummy;
+#endif
 }
 
 void SetMomSection(LongInt Handle)
 {
+#if 1
+ abort();
+#else
   LongInt z;
 
   MomSectionHandle = Handle;
@@ -3792,25 +4207,37 @@ void SetMomSection(LongInt Handle)
       if (MomSection)
         MomSection = MomSection->Next;
   }
+#endif
 }
 
 void AddSectionUsage(LongInt Start, LongInt Length)
 {
+#if 1
+ abort();
+#else
   if ((ActPC != SegCode) || (!MomSection))
     return;
   AddChunk(&(MomSection->Usage), Start, Length, False);
+#endif
 }
 
 void ClearSectionUsage(void)
 {
+#if 1
+ abort();
+#else
   PCToken Tmp;
 
   for (Tmp = FirstSection; Tmp; Tmp = Tmp->Next)
     ClearChunk(&(Tmp->Usage));
+#endif
 }
 
 static void PrintSectionList_PSection(LongInt Handle, int Indent)
 {
+#if 1
+ abort();
+#else
   PCToken Lauf;
   LongInt Cnt;
   String h;
@@ -3831,10 +4258,14 @@ static void PrintSectionList_PSection(LongInt Handle, int Indent)
     Lauf = Lauf->Next;
     Cnt++;
   }
+#endif
 }
 
 void PrintSectionList(void)
 {
+#if 1
+ abort();
+#else
   if (!FirstSection)
     return;
 
@@ -3843,10 +4274,14 @@ void PrintSectionList(void)
   WrLstLine(getmessage(Num_ListSectionListHead2));
   WrLstLine("");
   PrintSectionList_PSection(-1, 0);
+#endif
 }
 
 void PrintDebSections(FILE *f)
 {
+#if 1
+ abort();
+#else
   PCToken Lauf;
   LongInt Cnt, z, l, s;
   char Str[30];
@@ -3880,10 +4315,14 @@ void PrintDebSections(FILE *f)
     Lauf = Lauf->Next;
     Cnt++;
   }
+#endif
 }
 
 void ClearSectionList(void)
 {
+#if 1
+ abort();
+#else
   PCToken Tmp;
 
   while (FirstSection)
@@ -3893,6 +4332,7 @@ void ClearSectionList(void)
     ClearChunk(&(Tmp->Usage));
     FirstSection = Tmp->Next; free(Tmp);
   }
+#endif
 }
 
 /*---------------------------------------------------------------------------------*/
@@ -3907,6 +4347,9 @@ void ClearSectionList(void)
 
 static void PrintCrossList_PNode(PTree Node, void *pData)
 {
+#if 1
+ abort();
+#else
   int FileZ;
   PCrossRef pCross;
   String LineAcc;
@@ -3962,10 +4405,14 @@ static void PrintCrossList_PNode(PTree Node, void *pData)
       WrLstLine(LineAcc);
   }
   WrLstLine("");
+#endif
 }
 
 void PrintCrossList(void)
 {
+#if 1
+ abort();
+#else
   as_dynstr_t val_str;
 
   as_dynstr_ini(&val_str, 256);
@@ -3976,10 +4423,14 @@ void PrintCrossList(void)
   IterTree(&(FirstSymbol->Tree), PrintCrossList_PNode, &val_str);
   WrLstLine("");
   as_dynstr_free(&val_str);
+#endif
 }
 
 static void ClearCrossList_CNode(PTree Tree, void *pData)
 {
+#if 1
+ abort();
+#else
   PCrossRef Lauf;
   PSymbolEntry SymbolEntry = (PSymbolEntry) Tree;
   UNUSED(pData);
@@ -3990,32 +4441,48 @@ static void ClearCrossList_CNode(PTree Tree, void *pData)
     free(SymbolEntry->RefList);
     SymbolEntry->RefList = Lauf;
   }
+#endif
 }
 
 void ClearCrossList(void)
 {
+#if 1
+ abort();
+#else
   IterTree(&(FirstSymbol->Tree), ClearCrossList_CNode, NULL);
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 LongInt GetLocHandle(void)
 {
+#if 1
+ abort();
+#else
   return LocHandleCnt++;
+#endif
 }
 
 void PushLocHandle(LongInt NewLoc)
 {
+#if 1
+ abort();
+#else
   PLocHandle NewLocHandle;
 
   NewLocHandle = (PLocHandle) malloc(sizeof(TLocHeap));
   NewLocHandle->Cont = MomLocHandle;
   NewLocHandle->Next = FirstLocHandle;
   FirstLocHandle = NewLocHandle; MomLocHandle = NewLoc;
+#endif
 }
 
 void PopLocHandle(void)
 {
+#if 1
+ abort();
+#else
   PLocHandle OldLocHandle;
 
   OldLocHandle = FirstLocHandle;
@@ -4023,18 +4490,26 @@ void PopLocHandle(void)
   MomLocHandle = OldLocHandle->Cont;
   FirstLocHandle = OldLocHandle->Next;
   free(OldLocHandle);
+#endif
 }
 
 void ClearLocStack()
 {
+#if 1
+ abort();
+#else
   while (MomLocHandle != -1)
     PopLocHandle();
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 static void PrintRegList_PNode(PTree Tree, void *pData)
 {
+#if 1
+ abort();
+#else
   PSymbolEntry Node = (PSymbolEntry) Tree;
 
   if (Node->SymWert.Typ == TempReg)
@@ -4073,10 +4548,14 @@ static void PrintRegList_PNode(PTree Tree, void *pData)
     if (!Node->Used)
       pContext->USum++;
   }
+#endif
 }
 
 void PrintRegDefs(void)
 {
+#if 1
+ abort();
+#else
   String buf;
   LongInt ActPageWidth;
   TListContext Context;
@@ -4111,12 +4590,16 @@ void PrintRegDefs(void)
   as_dynstr_free(&Context.Zeilenrest);
   as_dynstr_free(&Context.s1);
   as_dynstr_free(&Context.sh);
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 void ClearCodepages(void)
 {
+#if 1
+ abort();
+#else
   PTransTable Old;
 
   while (TransTables)
@@ -4127,10 +4610,14 @@ void ClearCodepages(void)
     free(Old->Table);
     free(Old);
   }
+#endif
 }
 
 void PrintCodepages(void)
 {
+#if 1
+ abort();
+#else
   char buf[500];
   PTransTable Table;
   int z, cnt, cnt2;
@@ -4155,12 +4642,16 @@ void PrintCodepages(void)
   as_snprintf(buf, sizeof(buf), "%d%s", cnt2,
               getmessage((cnt2 == 1) ? Num_ListCodepageSumMsg : Num_ListCodepageSumsMsg));
   WrLstLine(buf);
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 void asmpars_init(void)
 {
+#if 1
+ abort();
+#else
   tIntTypeDef *pCurr;
 
   serr = (char*)malloc(sizeof(char) * STRINGSIZE);
@@ -4196,4 +4687,5 @@ void asmpars_init(void)
   }
 
   LastGlobSymbol = (char*)malloc(sizeof(char) * STRINGSIZE);
+#endif
 }
index bcfc7e8..fcb1f7e 100644 (file)
@@ -60,8 +60,12 @@ static Byte *ValidSymChar;
 
 void AsmSubPassInit(void)
 {
+#if 1
+ abort();
+#else
   PageLength = 60;
   PageWidth = 0;
+#endif
 }
 
 /****************************************************************************/
@@ -69,11 +73,18 @@ void AsmSubPassInit(void)
 
 void AddCopyright(const char *NewLine)
 {
+#if 1
+ abort();
+#else
   AddStringListLast(&CopyrightList, NewLine);
+#endif
 }
 
 void WriteCopyrights(TSwitchProc NxtProc)
 {
+#if 1
+ abort();
+#else
   StringRecPtr Lauf;
 
   if (!StringListEmpty(CopyrightList))
@@ -86,6 +97,7 @@ void WriteCopyrights(TSwitchProc NxtProc)
       NxtProc();
     }
   }
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -94,6 +106,9 @@ void WriteCopyrights(TSwitchProc NxtProc)
 
 static char *QuotPosCore(const char *s, int (*SearchFnc)(const char*, const char*), const char *pSearch, tQualifyQuoteFnc QualifyQuoteFnc)
 {
+#if 1
+ abort();
+#else
   register ShortInt Brack = 0, AngBrack = 0;
   register const char *i;
   Boolean InSglQuot = False, InDblQuot = False, ThisEscaped = False, NextEscaped = False;
@@ -143,20 +158,32 @@ static char *QuotPosCore(const char *s, int (*SearchFnc)(const char*, const char
   }
 
   return NULL;
+#endif
 }
 
 static int SearchSingleChar(const char *pPos, const char *pSearch)
 {
+#if 1
+ abort();
+#else
   return ((int)*pSearch) - ((int)*pPos);
+#endif
 }
 
 static int SearchMultChar(const char *pPos, const char *pSearch)
 {
+#if 1
+ abort();
+#else
   return !strchr(pSearch, *pPos);
+#endif
 }
 
 static int SearchMultString(const char *pPos, const char *pSearch)
 {
+#if 1
+ abort();
+#else
   int len;
 
   while (True)
@@ -167,25 +194,41 @@ static int SearchMultString(const char *pPos, const char *pSearch)
       return 0;
     pSearch += len + 1;
   }
+#endif
 }
 
 char *QuotMultPosQualify(const char *s, const char *pSearch, tQualifyQuoteFnc QualifyQuoteFnc)
 {
+#if 1
+ abort();
+#else
   return QuotPosCore(s, SearchMultChar, pSearch, QualifyQuoteFnc);
+#endif
 }
 
 char *QuotPosQualify(const char *s, char Zeichen, tQualifyQuoteFnc QualifyQuoteFnc)
 {
+#if 1
+ abort();
+#else
   return QuotPosCore(s, SearchSingleChar, &Zeichen, QualifyQuoteFnc);
+#endif
 }
 
 char *QuotSMultPosQualify(const char *s, const char *pStrs, tQualifyQuoteFnc QualifyQuoteFnc)
 {
+#if 1
+ abort();
+#else
   return QuotPosCore(s, SearchMultString, pStrs, QualifyQuoteFnc);
+#endif
 }
 
 char *RQuotPos(char *s, char Zeichen)
 {
+#if 1
+ abort();
+#else
   ShortInt Brack = 0, AngBrack = 0;
   char *i;
   Boolean Quot = False, Paren = False;
@@ -225,6 +268,7 @@ char *RQuotPos(char *s, char Zeichen)
     }
 
   return NULL;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -232,6 +276,9 @@ char *RQuotPos(char *s, char Zeichen)
 
 char *FirstBlank(const char *s)
 {
+#if 1
+ abort();
+#else
   const char *h, *Min = NULL;
 
   h = strchr(s, ' ');
@@ -243,6 +290,7 @@ char *FirstBlank(const char *s)
     if ((!Min) || (h < Min))
       Min = h;
   return (char*)Min;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -250,6 +298,9 @@ char *FirstBlank(const char *s)
 
 void SplitString(char *Source, char *Left, char *Right, char *Trenner)
 {
+#if 1
+ abort();
+#else
   char Save;
   LongInt slen = strlen(Source);
 
@@ -263,6 +314,7 @@ void SplitString(char *Source, char *Left, char *Right, char *Trenner)
     *Right = '\0';
   else
     strmov(Right, Trenner + 1);
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -273,6 +325,9 @@ void SplitString(char *Source, char *Left, char *Right, char *Trenner)
 
 void UpString(char *s)
 {
+#if 1
+ abort();
+#else
   char *z;
   int hypquot = 0;
   Boolean LastBk = FALSE, ThisBk;
@@ -299,6 +354,7 @@ void UpString(char *s)
     }
     LastBk = ThisBk;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -311,6 +367,9 @@ void UpString(char *s)
 
 char *MatchChars(const char *pStr, const char *pPattern, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   char *pResult = NULL;
 
@@ -343,6 +402,7 @@ char *MatchChars(const char *pStr, const char *pPattern, ...)
 func_exit:
   va_end(ap);
   return pResult;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -355,6 +415,9 @@ func_exit:
 
 char *MatchCharsRev(const char *pStr, const char *pPattern, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   char *pResult = NULL;
   const char *pPatternRun = pPattern + strlen(pPattern) - 1,
@@ -389,6 +452,7 @@ char *MatchCharsRev(const char *pStr, const char *pPattern, ...)
 func_exit:
   va_end(ap);
   return pResult;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -400,6 +464,9 @@ func_exit:
 
 char *FindClosingParenthese(const char *pStr)
 {
+#if 1
+ abort();
+#else
   int Nest = 1;
   Boolean InSgl = False, InDbl = False;
 
@@ -426,6 +493,7 @@ char *FindClosingParenthese(const char *pStr)
     }
   }
   return NULL;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -439,6 +507,9 @@ char *FindClosingParenthese(const char *pStr)
 
 char *FindOpeningParenthese(const char *pStrBegin, const char *pStrEnd, const char Bracks[2])
 {
+#if 1
+ abort();
+#else
   int Nest = 1;
   Boolean InSgl = False, InDbl = False;
 
@@ -467,22 +538,30 @@ char *FindOpeningParenthese(const char *pStrBegin, const char *pStrEnd, const ch
     }
   }
   return NULL;
+#endif
 }
 
 /****************************************************************************/
 
 void TranslateString(char *s, int Length)
 {
+#if 1
+ abort();
+#else
   char *pRun, *pEnd;
 
   if (Length < 0)
     Length = strlen(s);
   for (pRun = s, pEnd = pRun + Length; pRun < pEnd; pRun++)
     *pRun = CharTransTable[((usint)(*pRun)) & 0xff];
+#endif
 }
 
 ShortInt StrCaseCmp(const char *s1, const char *s2, LongInt Hand1, LongInt Hand2)
 {
+#if 1
+ abort();
+#else
   int tmp;
 
   tmp = as_toupper(*s1) - as_toupper(*s2);
@@ -495,6 +574,7 @@ ShortInt StrCaseCmp(const char *s1, const char *s2, LongInt Hand1, LongInt Hand2
   if (tmp > 0)
     return 1;
   return 0;
+#endif
 }
 
 /****************************************************************************/
@@ -502,6 +582,9 @@ ShortInt StrCaseCmp(const char *s1, const char *s2, LongInt Hand1, LongInt Hand2
 
 void AddSuffix(char *s, const char *Suff)
 {
+#if 1
+ abort();
+#else
   char *p, *z, *Part;
 
   p = NULL;
@@ -511,6 +594,7 @@ void AddSuffix(char *s, const char *Suff)
   Part = p ? p : s;
   if (!strchr(Part, '.'))
     strmaxcat(s, Suff, STRINGSIZE);
+#endif
 }
 
 
@@ -519,6 +603,9 @@ void AddSuffix(char *s, const char *Suff)
 
 void KillSuffix(char *s)
 {
+#if 1
+ abort();
+#else
   char *p, *z, *Part;
 
   p = NULL;
@@ -529,6 +616,7 @@ void KillSuffix(char *s)
   Part = strchr(Part, '.');
   if (Part)
     *Part = '\0';
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -536,6 +624,9 @@ void KillSuffix(char *s)
 
 char *PathPart(char *Name)
 {
+#if 1
+ abort();
+#else
   static String s;
   char *p;
 
@@ -553,6 +644,7 @@ char *PathPart(char *Name)
     s[1] = '\0';
 
   return s;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -560,6 +652,9 @@ char *PathPart(char *Name)
 
 const char *NamePart(const char *Name)
 {
+#if 1
+ abort();
+#else
   const char *p = strrchr(Name, PATHSEP);
 
 #ifdef DRSEP
@@ -568,6 +663,7 @@ const char *NamePart(const char *Name)
 #endif
 
   return p ? p + 1 : Name;
+#endif
 }
 
 /****************************************************************************/
@@ -575,6 +671,9 @@ const char *NamePart(const char *Name)
 
 void FloatString(char *pDest, size_t DestSize, Double f)
 {
+#if 1
+ abort();
+#else
 #define MaxLen 18
   char *p, *d, ExpChar = HexStartCharacter + ('E' - 'A');
   sint n, ExpVal, nzeroes;
@@ -713,6 +812,7 @@ void FloatString(char *pDest, size_t DestSize, Double f)
     p = pDest + strlen(pDest);
   if (p && (*(p - 1) == '.'))
     strmov(p - 1, p);
+#endif
 }
 
 /****************************************************************************/
@@ -720,6 +820,9 @@ void FloatString(char *pDest, size_t DestSize, Double f)
 
 void StrSym(const TempResult *t, Boolean WithSystem, as_dynstr_t *p_dest, unsigned Radix)
 {
+#if 1
+ abort();
+#else
   LargeInt IntVal;
 
   if (p_dest->capacity)
@@ -787,6 +890,7 @@ void StrSym(const TempResult *t, Boolean WithSystem, as_dynstr_t *p_dest, unsign
     default:
       as_sdprintf(p_dest, "???");
   }
+#endif
 }
 
 /****************************************************************************/
@@ -794,12 +898,16 @@ void StrSym(const TempResult *t, Boolean WithSystem, as_dynstr_t *p_dest, unsign
 
 void ResetPageCounter(void)
 {
+#if 1
+ abort();
+#else
   int z;
 
   for (z = 0; z <= ChapMax; z++)
     PageCounter[z] = 0;
   LstCounter = 0;
   ChapDepth = 0;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -807,6 +915,9 @@ void ResetPageCounter(void)
 
 void NewPage(ShortInt Level, Boolean WithFF)
 {
+#if 1
+ abort();
+#else
   ShortInt z;
   String Header, s;
   char Save;
@@ -893,6 +1004,7 @@ void NewPage(ShortInt Level, Boolean WithFF)
     fprintf(LstFile, "\n\n");
     ChkIO(ErrNum_ListWrError);
   }
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -900,6 +1012,9 @@ void NewPage(ShortInt Level, Boolean WithFF)
 
 void WrLstLine(const char *Line)
 {
+#if 1
+ abort();
+#else
   int LLength;
   char bbuf[2500];
   String LLine;
@@ -959,6 +1074,7 @@ void WrLstLine(const char *Line)
       }
     }
   }
+#endif
 }
 
 /*****************************************************************************/
@@ -966,6 +1082,9 @@ void WrLstLine(const char *Line)
 
 void SetListLineVal(TempResult *t)
 {
+#if 1
+ abort();
+#else
   as_dynstr_t str;
 
   as_dynstr_ini(&str, STRINGSIZE);
@@ -973,15 +1092,20 @@ void SetListLineVal(TempResult *t)
   as_snprintf(ListLine, STRINGSIZE, "=%s", str.p_str);
   LimitListLine();
   as_dynstr_free(&str);
+#endif
 }
 
 void LimitListLine(void)
 {
+#if 1
+ abort();
+#else
   if (strlen(ListLine) + 1 > LISTLINESPACE)
   {
     ListLine[LISTLINESPACE - 4] = '\0';
     strmaxcat(ListLine, "..", STRINGSIZE);
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -996,16 +1120,23 @@ void LimitListLine(void)
 
 static Boolean CompMatch(int Col, const struct sLineComp *pComp)
 {
+#if 1
+ abort();
+#else
   return (pComp
        && (pComp->StartCol >= 0)
        && (Col >= pComp->StartCol)
        && (Col < pComp->StartCol + (int)pComp->Len));
+#endif
 }
 
 void PrintOneLineMuted(FILE *pFile, const char *pLine,
                        const struct sLineComp *pMuteComponent,
                        const struct sLineComp *pMuteComponent2)
 {
+#if 1
+ abort();
+#else
   int z, Len = strlen(pLine);
   Boolean Match;
 
@@ -1017,6 +1148,7 @@ void PrintOneLineMuted(FILE *pFile, const char *pLine,
   }
   fputc('\n', pFile);
   ChkIO(ErrNum_ListWrError);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1034,6 +1166,9 @@ void PrintOneLineMuted(FILE *pFile, const char *pLine,
 void PrLineMarker(FILE *pFile, const char *pLine, const char *pPrefix, const char *pTrailer,
                   char Marker, const struct sLineComp *pLineComp)
 {
+#if 1
+ abort();
+#else
   const char *pRun;
   int z;
 
@@ -1051,6 +1186,7 @@ void PrLineMarker(FILE *pFile, const char *pLine, const char *pPrefix, const cha
       fputc(Marker, pFile);
     fprintf(pFile, "%s\n", pTrailer);
   }
+#endif
 }
 
 /****************************************************************************/
@@ -1058,11 +1194,18 @@ void PrLineMarker(FILE *pFile, const char *pLine, const char *pPrefix, const cha
 
 static Byte GetValidSymChar(unsigned Ch)
 {
+#if 1
+ abort();
+#else
   return (Ch < ValidSymCharLen) ? ValidSymChar[Ch] : 0;
+#endif
 }
 
 static char *ChkNameUpTo(const char *pSym, const char *pUpTo, Byte _Mask)
 {
+#if 1
+ abort();
+#else
   Byte Mask = _Mask;
   unsigned Ch;
   const char *pPrev;
@@ -1083,10 +1226,14 @@ static char *ChkNameUpTo(const char *pSym, const char *pUpTo, Byte _Mask)
     Mask = _Mask << 1;
   }
   return (char*)pSym;
+#endif
 }
 
 char *ChkSymbNameUpTo(const char *pSym, const char *pUpTo)
 {
+#if 1
+ abort();
+#else
   char *pResult = ChkNameUpTo(pSym, pUpTo, VALID_S1);
 
   /* If NULL as UpTo was given, and all is fine up to end of string,
@@ -1095,16 +1242,24 @@ char *ChkSymbNameUpTo(const char *pSym, const char *pUpTo)
   if (!pUpTo && !*pResult)
      pResult= NULL;
   return pResult;
+#endif
 }
 
 Boolean ChkSymbName(const char *pSym)
 {
+#if 1
+ abort();
+#else
   const char *pEnd = ChkSymbNameUpTo(pSym, NULL);
   return *pSym && !pEnd;
+#endif
 }
 
 char *ChkMacSymbNameUpTo(const char *pSym, const char *pUpTo)
 {
+#if 1
+ abort();
+#else
   char *pResult = ChkNameUpTo(pSym, pUpTo, VALID_M1);
 
   /* If NULL as UpTo was given, and all is fine up to end of string,
@@ -1113,12 +1268,17 @@ char *ChkMacSymbNameUpTo(const char *pSym, const char *pUpTo)
   if (!pUpTo && !*pResult)
      pResult= NULL;
   return pResult;
+#endif
 }
 
 Boolean ChkMacSymbName(const char *pSym)
 {
+#if 1
+ abort();
+#else
   const char *pEnd = ChkMacSymbNameUpTo(pSym, NULL);
   return *pSym && !pEnd;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1130,6 +1290,9 @@ Boolean ChkMacSymbName(const char *pSym)
 
 unsigned visible_strlen(const char *pSym)
 {
+#if 1
+ abort();
+#else
   if (ValidSymCharLen > 256)
   {
     unsigned Result = 0;
@@ -1143,13 +1306,18 @@ unsigned visible_strlen(const char *pSym)
   }
   else
     return strlen(pSym);
+#endif
 }
 
 /****************************************************************************/
 
 LargeWord ProgCounter(void)
 {
+#if 1
+ abort();
+#else
   return PCs[ActPC];
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1157,7 +1325,11 @@ LargeWord ProgCounter(void)
 
 LargeWord EProgCounter(void)
 {
+#if 1
+ abort();
+#else
   return PCs[ActPC] + Phases[ActPC];
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1165,7 +1337,11 @@ LargeWord EProgCounter(void)
 
 Word Granularity(void)
 {
+#if 1
+ abort();
+#else
   return Grans[ActPC];
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1173,7 +1349,11 @@ Word Granularity(void)
 
 Word ListGran(void)
 {
+#if 1
+ abort();
+#else
   return ListGrans[ActPC];
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1181,9 +1361,13 @@ Word ListGran(void)
 
 void ChkSpace(Byte AddrSpace, unsigned AddrSpaceMask)
 {
+#if 1
+ abort();
+#else
   AddrSpaceMask &= ~(1 << AddrSpace);
 
   if (AddrSpaceMask) WrError(ErrNum_WrongSegment);
+#endif
 }
 
 /****************************************************************************/
@@ -1191,6 +1375,9 @@ void ChkSpace(Byte AddrSpace, unsigned AddrSpaceMask)
 
 void PrintChunk(ChunkList *NChunk, DissectBitProc Dissect, int ItemsPerLine)
 {
+#if 1
+ abort();
+#else
   LargeWord NewMin, FMin;
   Boolean Found;
   Word p = 0, z;
@@ -1243,6 +1430,7 @@ void PrintChunk(ChunkList *NChunk, DissectBitProc Dissect, int ItemsPerLine)
 
   if (BufferZ != 0)
     WrLstLine(BufferS);
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1250,6 +1438,9 @@ void PrintChunk(ChunkList *NChunk, DissectBitProc Dissect, int ItemsPerLine)
 
 void PrintUseList(void)
 {
+#if 1
+ abort();
+#else
   int z, z2, l;
   String s;
 
@@ -1271,14 +1462,19 @@ void PrintUseList(void)
                  (z == SegBData) ? 3 : 4);
       WrLstLine("");
     }
+#endif
 }
 
 void ClearUseList(void)
 {
+#if 1
+ abort();
+#else
   int z;
 
   for (z = 1; z < SegCount; z++)
     ClearChunk(SegChunks + z);
+#endif
 }
 
 /****************************************************************************/
@@ -1286,6 +1482,9 @@ void ClearUseList(void)
 
 static char *GetPath(char *Acc)
 {
+#if 1
+ abort();
+#else
   char *p;
   static String tmp;
 
@@ -1302,10 +1501,14 @@ static char *GetPath(char *Acc)
     strmov(Acc, p + 1);
   }
   return tmp;
+#endif
 }
 
 void AddIncludeList(char *NewPath)
 {
+#if 1
+ abort();
+#else
   String Test;
 
   strmaxcpy(Test, IncludeList, STRINGSIZE);
@@ -1315,11 +1518,15 @@ void AddIncludeList(char *NewPath)
   if (*IncludeList != '\0')
     strmaxprep(IncludeList, SDIRSEP, STRINGSIZE);
   strmaxprep(IncludeList, NewPath, STRINGSIZE);
+#endif
 }
 
 
 void RemoveIncludeList(char *RemPath)
 {
+#if 1
+ abort();
+#else
   String Save;
   char *Part;
 
@@ -1335,6 +1542,7 @@ void RemoveIncludeList(char *RemPath)
       strmaxcat(IncludeList, Part, STRINGSIZE);
     }
   }
+#endif
 }
 
 /****************************************************************************/
@@ -1342,62 +1550,110 @@ void RemoveIncludeList(char *RemPath)
 
 void ClearOutList(void)
 {
+#if 1
+ abort();
+#else
   ClearStringList(&OutList);
+#endif
 }
 
 void AddToOutList(const char *NewName)
 {
+#if 1
+ abort();
+#else
   AddStringListLast(&OutList, NewName);
+#endif
 }
 
 void RemoveFromOutList(const char *OldName)
 {
+#if 1
+ abort();
+#else
   RemoveStringList(&OutList, OldName);
+#endif
 }
 
 char *GetFromOutList(void)
 {
+#if 1
+ abort();
+#else
   return GetAndCutStringList(&OutList);
+#endif
 }
 
 void ClearShareOutList(void)
 {
+#if 1
+ abort();
+#else
   ClearStringList(&ShareOutList);
+#endif
 }
 
 void AddToShareOutList(const char *NewName)
 {
+#if 1
+ abort();
+#else
   AddStringListLast(&ShareOutList, NewName);
+#endif
 }
 
 void RemoveFromShareOutList(const char *OldName)
 {
+#if 1
+ abort();
+#else
   RemoveStringList(&ShareOutList, OldName);
+#endif
 }
 
 char *GetFromShareOutList(void)
 {
+#if 1
+ abort();
+#else
   return GetAndCutStringList(&ShareOutList);
+#endif
 }
 
 void ClearListOutList(void)
 {
+#if 1
+ abort();
+#else
   ClearStringList(&ListOutList);
+#endif
 }
 
 void AddToListOutList(const char *NewName)
 {
+#if 1
+ abort();
+#else
   AddStringListLast(&ListOutList, NewName);
+#endif
 }
 
 void RemoveFromListOutList(const char *OldName)
 {
+#if 1
+ abort();
+#else
   RemoveStringList(&ListOutList, OldName);
+#endif
 }
 
 char *GetFromListOutList(void)
 {
+#if 1
+ abort();
+#else
   return GetAndCutStringList(&ListOutList);
+#endif
 }
 
 /****************************************************************************/
@@ -1405,15 +1661,22 @@ char *GetFromListOutList(void)
 
 static Boolean CompressLine_NErl(char ch)
 {
+#if 1
+ abort();
+#else
   return (((ch >= 'A') && (ch <= 'Z'))
        || ((ch >= 'a') && (ch <= 'z'))
        || ((ch >= '0') && (ch <= '9')));
+#endif
 }
 
 typedef int (*tCompareFnc)(const char *s1, const char *s2, size_t n);
 
 int ReplaceLine(as_dynstr_t *p_str, const char *pSearch, const char *pReplace, Boolean CaseSensitive)
 {
+#if 1
+ abort();
+#else
   int SearchLen = strlen(pSearch), ReplaceLen = strlen(pReplace), StrLen = strlen(p_str->p_str), DeltaLen = ReplaceLen - SearchLen;
   int NumReplace = 0, Pos, End, CmpRes, Avail, nCopy, nMove;
   tCompareFnc Compare = CaseSensitive ? strncmp : as_strncasecmp;
@@ -1444,13 +1707,18 @@ int ReplaceLine(as_dynstr_t *p_str, const char *pSearch, const char *pReplace, B
       Pos++;
   }
   return NumReplace;
+#endif
 }
 
 static void SetToken(char *Token, unsigned TokenNum)
 {
+#if 1
+ abort();
+#else
   Token[0] = (TokenNum >> 4) + 1;
   Token[1] = (TokenNum & 15) + 1;
   Token[2] = 0;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1464,9 +1732,13 @@ static void SetToken(char *Token, unsigned TokenNum)
 
 int CompressLine(const char *TokNam, unsigned TokenNum, as_dynstr_t *p_str, Boolean ThisCaseSensitive)
 {
+#if 1
+ abort();
+#else
   char Token[3];
   SetToken(Token, TokenNum);
   return ReplaceLine(p_str, TokNam, Token, ThisCaseSensitive);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1479,13 +1751,20 @@ int CompressLine(const char *TokNam, unsigned TokenNum, as_dynstr_t *p_str, Bool
 
 void ExpandLine(const char *TokNam, unsigned TokenNum, as_dynstr_t *p_str)
 {
+#if 1
+ abort();
+#else
   char Token[3];
   SetToken(Token, TokenNum);
   (void)ReplaceLine(p_str, Token, TokNam, True);
+#endif
 }
 
 void KillCtrl(char *Line)
 {
+#if 1
+ abort();
+#else
   char *z;
 
   if (*(z = Line) == '\0')
@@ -1503,6 +1782,7 @@ void KillCtrl(char *Line)
     z++;
   }
   while (*z != '\0');
+#endif
 }
 
 /****************************************************************************/
@@ -1510,6 +1790,9 @@ void KillCtrl(char *Line)
 
 void BookKeeping(void)
 {
+#if 1
+ abort();
+#else
   if (MakeUseList)
     if (AddChunk(SegChunks + ActPC, ProgCounter(), CodeLen, ActPC == SegCode))
       WrError(ErrNum_Overlap);
@@ -1518,6 +1801,7 @@ void BookKeeping(void)
     AddSectionUsage(ProgCounter(), CodeLen);
     AddLineInfo(InMacroFlag, CurrLine, CurrFileName, ActPC, PCs[ActPC], CodeLen);
   }
+#endif
 }
 
 /****************************************************************************/
@@ -1525,11 +1809,15 @@ void BookKeeping(void)
 
 long DTime(long t1, long t2)
 {
+#if 1
+ abort();
+#else
   LongInt d;
 
   d = t2 - t1;
   if (d < 0) d += (24*360000);
   return (d > 0) ? d : -d;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1546,36 +1834,52 @@ static tProcStore *pInitPassProcStore = NULL,
 
 void InitPass(void)
 {
+#if 1
+ abort();
+#else
   tProcStore *pStore;
 
   for (pStore = pInitPassProcStore; pStore; pStore = pStore->pNext)
     pStore->Proc();
+#endif
 }
 
 void ClearUp(void)
 {
+#if 1
+ abort();
+#else
   tProcStore *pStore;
 
   for (pStore = pClearUpProcStore; pStore; pStore = pStore->pNext)
     pStore->Proc();
+#endif
 }
 
 void AddInitPassProc(SimpProc NewProc)
 {
+#if 1
+ abort();
+#else
   tProcStore *pNewStore = (tProcStore*)calloc(1, sizeof(*pNewStore));
 
   pNewStore->pNext = pInitPassProcStore;
   pNewStore->Proc = NewProc;
   pInitPassProcStore = pNewStore;
+#endif
 }
 
 void AddClearUpProc(SimpProc NewProc)
 {
+#if 1
+ abort();
+#else
   tProcStore *pNewStore = (tProcStore*)calloc(1, sizeof(*pNewStore));
 
   pNewStore->pNext = pClearUpProcStore;
   pNewStore->Proc = NewProc;
   pClearUpProcStore = pNewStore;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1587,6 +1891,9 @@ void AddClearUpProc(SimpProc NewProc)
 
 long GTime(void)
 {
+#if 1
+ abort();
+#else
   struct time tbuf;
   long result;
 
@@ -1596,6 +1903,7 @@ long GTime(void)
   result = (result * 60) + tbuf.ti_sec;
   result = (result * 100) + tbuf.ti_hund;
   return result;
+#endif
 }
 
 #elif __IBMC__
@@ -1606,6 +1914,9 @@ long GTime(void)
 
 long GTime(void)
 {
+#if 1
+ abort();
+#else
   DATETIME dt;
   struct tm ts;
   DosGetDateTime(&dt);
@@ -1617,6 +1928,7 @@ long GTime(void)
   ts.tm_min  = dt.minutes;
   ts.tm_sec  = dt.seconds;
   return (mktime(&ts) * 100) + (dt.hundredths);
+#endif
 }
 
 #elif __MINGW32__
@@ -1638,6 +1950,9 @@ void __stdcall GetSystemTimeAsFileTime(FILETIME*);
 
 long GTime(void)
 {
+#if 1
+ abort();
+#else
   union
   {
 #ifndef NOLONGLONG
@@ -1663,6 +1978,7 @@ long GTime(void)
 # define _W32_FT_OFFSET (116444736000000000LL)
   return (_now.ns100 - _W32_FT_OFFSET) / 100000LL;
 #endif
+#endif
 }
 
 #else
@@ -1671,10 +1987,14 @@ long GTime(void)
 
 long GTime(void)
 {
+#if 1
+ abort();
+#else
   struct timeval tv;
 
   gettimeofday(&tv, NULL);
   return (tv.tv_sec*100) + (tv.tv_usec/10000);
+#endif
 }
 
 #endif
@@ -1693,21 +2013,33 @@ unsigned _ovrbuffer = 64*48;
 
 void ChkStack(void)
 {
+#if 1
+ abort();
+#else
   LongWord avail = stackavail();
   if (avail < MinStack)
     WrError(ErrNum_StackOvfl);
   if (avail < LowStack)
     LowStack = avail;
+#endif
 }
 
 void ResetStack(void)
 {
+#if 1
+ abort();
+#else
   LowStack = stackavail();
+#endif
 }
 
 LongWord StackRes(void)
 {
+#if 1
+ abort();
+#else
   return LowStack - MinStack;
+#endif
 }
 #endif /* __TURBOC__ */
 
@@ -1717,6 +2049,9 @@ LongWord StackRes(void)
 
 void *ckmalloc(size_t s)
 {
+#if 1
+ abort();
+#else
   void *tmp;
 
 #ifdef __TURBOC__
@@ -1728,10 +2063,14 @@ void *ckmalloc(size_t s)
   if (!tmp && (s > 0))
     WrError(ErrNum_HeapOvfl);
   return tmp;
+#endif
 }
 
 void *ckrealloc(void *p, size_t s)
 {
+#if 1
+ abort();
+#else
   void *tmp;
 
 #ifdef __TURBOC__
@@ -1743,22 +2082,34 @@ void *ckrealloc(void *p, size_t s)
   if (!tmp)
     WrError(ErrNum_HeapOvfl);
   return tmp;
+#endif
 }
 #endif
 
 static void SetValidSymChar(unsigned Ch, Byte Value)
 {
+#if 1
+ abort();
+#else
   ValidSymChar[Ch] = Value;
+#endif
 }
 
 static void SetValidSymChars(unsigned Start, unsigned Stop, Byte Value)
 {
+#if 1
+ abort();
+#else
   for (; Start <= Stop; Start++)
     SetValidSymChar(Start, Value);
+#endif
 }
 
 void asmsub_init(void)
 {
+#if 1
+ abort();
+#else
 #ifdef __TURBOC__
 #ifdef __MSDOS__
 #ifdef __DPMI16__
@@ -1958,4 +2309,5 @@ void asmsub_init(void)
 #endif
 
   version_init();
+#endif
 }
index 5d776d9..91f398b 100644 (file)
@@ -32,6 +32,9 @@
 
 char *FExpand(char *Src)
 {
+#if 1
+ abort();
+#else
   static String CurrentDir;
   String Copy;
 #ifdef DRSEP
@@ -155,6 +158,7 @@ char *FExpand(char *Src)
   strmaxcat(CurrentDir, Copy, STRINGSIZE);
 
   return CurrentDir;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -170,6 +174,9 @@ char *FExpand(char *Src)
 
 static int AssembleAndCheck(char *pDest, size_t DestSize, const char *pPath, unsigned PathLen, const char *pFileToSearch)
 {
+#if 1
+ abort();
+#else
   FILE *pDummy;
 
   if (PathLen > DestSize - 1)
@@ -190,10 +197,14 @@ static int AssembleAndCheck(char *pDest, size_t DestSize, const char *pPath, uns
   }
   else
     return 2;
+#endif
 }
 
 int FSearch(char *pDest, size_t DestSize, const char *pFileToSearch, const char *pCurrFileName, const char *pSearchPath)
 {
+#if 1
+ abort();
+#else
   /* If the file has an absolute path ('/....', '\....', 'X:....'), do not search relative
      to current file's directory: */
 
@@ -246,50 +257,82 @@ int FSearch(char *pDest, size_t DestSize, const char *pFileToSearch, const char
 
   *pDest = '\0';
   return 2;
+#endif
 }
 
 long FileSize(FILE *file)
 {
+#if 1
+ abort();
+#else
   long Save = ftell(file), Size;
 
   fseek(file, 0, SEEK_END);
   Size=ftell(file);
   fseek(file, Save, SEEK_SET);
   return Size;
+#endif
 }
 
 Byte Lo(Word inp)
 {
+#if 1
+ abort();
+#else
   return (inp & 0xff);
+#endif
 }
 
 Byte Hi(Word inp)
 {
+#if 1
+ abort();
+#else
   return ((inp >> 8) & 0xff);
+#endif
 }
 
 unsigned LoWord(LongWord Src)
 {
+#if 1
+ abort();
+#else
   return (Src & 0xffff);
+#endif
 }
 
 unsigned HiWord(LongWord Src)
 {
+#if 1
+ abort();
+#else
   return ((Src >> 16) & 0xffff);
+#endif
 }
 
 unsigned long LoDWord(LargeWord Src)
 {
+#if 1
+ abort();
+#else
   return Src & 0xfffffffful;
+#endif
 }
 
 Boolean Odd(int inp)
 {
+#if 1
+ abort();
+#else
   return ((inp & 1) == 1);
+#endif
 }
 
 Boolean DirScan(char *Mask, charcallback callback)
 {
+#if 1
+ abort();
+#else
   char Name[1024];
 
 #ifdef __MSDOS__
@@ -345,16 +388,21 @@ Boolean DirScan(char *Mask, charcallback callback)
   return True;
 #endif
 #endif
+#endif
 }
 
 LongInt MyGetFileTime(char *Name)
 {
+#if 1
+ abort();
+#else
   struct stat st;
 
   if (stat(Name, &st) == -1)
     return 0;
   else
     return st.st_mtime;
+#endif
 }
 
 #ifdef __CYGWIN32__
@@ -363,6 +411,9 @@ LongInt MyGetFileTime(char *Name)
 
 char *DeCygWinDirList(char *pStr)
 {
+#if 1
+ abort();
+#else
   char *pRun;
 
   for (pRun = pStr; *pRun; pRun++)
@@ -370,10 +421,14 @@ char *DeCygWinDirList(char *pStr)
       *pRun = ';';
 
   return pStr;
+#endif
 }
 
 char *DeCygwinPath(char *pStr)
 {
+#if 1
+ abort();
+#else
   char *pRun;
 
   if ((strlen(pStr) >= 4)
@@ -399,9 +454,14 @@ char *DeCygwinPath(char *pStr)
       *pRun = '\\';
 
   return pStr;
+#endif
 }
 #endif /* __CYGWIN32__ */
 
 void bpemu_init(void)
 {
+#if 1
+ abort();
+#else
+#endif
 }
index 9f5d170..2be5c5d 100644 (file)
@@ -24,6 +24,9 @@ static int MaxNameLen = 0;
 
 CPUVar AddCPUUserWithArgs(const char *NewName, tCPUSwitchUserProc Switcher, void *pUserData, tCPUFreeUserDataProc Freeer, const tCPUArg *pArgs)
 {
+#if 1
+ abort();
+#else
   tpCPUDef Lauf, Neu;
   char *p;
   int l;
@@ -55,6 +58,7 @@ CPUVar AddCPUUserWithArgs(const char *NewName, tCPUSwitchUserProc Switcher, void
   }
 
   return CPUCnt++;
+#endif
 }
 
 typedef struct
@@ -64,24 +68,39 @@ typedef struct
 
 static void SwitchNoUserProc(void *pUserData)
 {
+#if 1
+ abort();
+#else
   ((tNoUserData*)pUserData)->Switcher();
+#endif
 }
 
 static void FreeNoUserProc(void *pUserData)
 {
+#if 1
+ abort();
+#else
   free(pUserData);
+#endif
 }
 
 CPUVar AddCPUWithArgs(const char *NewName, tCPUSwitchProc Switcher, const tCPUArg *pArgs)
 {
+#if 1
+ abort();
+#else
   tNoUserData *pData = (tNoUserData*)malloc(sizeof(*pData));
 
   pData->Switcher = Switcher;
   return AddCPUUserWithArgs(NewName, SwitchNoUserProc, pData, FreeNoUserProc, pArgs);
+#endif
 }
 
 Boolean AddCPUAlias(char *OrigName, char *AliasName)
 {
+#if 1
+ abort();
+#else
   tpCPUDef Lauf = FirstCPUDef, Neu;
 
   while ((Lauf) && (strcmp(Lauf->Name, OrigName)))
@@ -105,14 +124,19 @@ Boolean AddCPUAlias(char *OrigName, char *AliasName)
     Lauf->Next = Neu;
     return True;
   }
+#endif
 }
 
 void IterateCPUList(tCPUListIterator Iterator, void *pUser)
 {
+#if 1
+ abort();
+#else
   tpCPUDef pRun;
 
   for (pRun= FirstCPUDef; pRun; pRun = pRun->Next)
     Iterator(pRun, pUser);
+#endif
 }
 
 typedef struct
@@ -125,6 +149,9 @@ typedef struct
 
 static void PrintIterator(const tCPUDef *pCPUDef, void *pUser)
 {
+#if 1
+ abort();
+#else
   tPrintContext *pContext = (tPrintContext*)pUser;
 
   /* ignore aliases */
@@ -151,10 +178,14 @@ static void PrintIterator(const tCPUDef *pCPUDef, void *pUser)
     printf("%-*s", MaxNameLen + 1, pCPUDef->Name);
     pContext->cnt++;
   }
+#endif
 }
 
 void PrintCPUList(tPrintNextCPUProc NxtProc)
 {
+#if 1
+ abort();
+#else
   tPrintContext Context;
 
   Context.Proc = NULL;
@@ -165,10 +196,14 @@ void PrintCPUList(tPrintNextCPUProc NxtProc)
   IterateCPUList(PrintIterator, &Context);
   printf("\n");
   NxtProc();
+#endif
 }
 
 void ClearCPUList(void)
 {
+#if 1
+ abort();
+#else
   tpCPUDef Save;
 
   while (FirstCPUDef)
@@ -180,20 +215,28 @@ void ClearCPUList(void)
       Save->FreeProc(Save->pUserData);
     free(Save);
   }
+#endif
 }
 
 const tCPUDef *LookupCPUDefByVar(CPUVar Var)
 {
+#if 1
+ abort();
+#else
   tpCPUDef pRun;
 
   for (pRun = FirstCPUDef; pRun; pRun = pRun->Next)
     if (pRun->Number == Var)
       break;
   return pRun;
+#endif
 }
 
 const tCPUDef *LookupCPUDefByName(const char *pName)
 {
+#if 1
+ abort();
+#else
   tpCPUDef pRun;
 
   for (pRun = FirstCPUDef; pRun; pRun = pRun->Next)
@@ -206,10 +249,15 @@ const tCPUDef *LookupCPUDefByName(const char *pName)
       break;
   }
   return pRun;
+#endif
 }
 
 void cpulist_init(void)
 {
+#if 1
+ abort();
+#else
   FirstCPUDef = NULL;
   CPUCnt = 0;
+#endif
 }
index 239f823..94b6154 100644 (file)
 
 static void check_dynamic(const as_dynstr_t *p_str)
 {
+#if 1
+ abort();
+#else
   if (!p_str->dynamic)
   {
     fprintf(stderr, "attemt to resize non-dynamic string\n");
     abort();
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -33,10 +37,14 @@ static void check_dynamic(const as_dynstr_t *p_str)
 
 void as_dynstr_ini(as_dynstr_t *p_str, size_t ini_capacity)
 {
+#if 1
+ abort();
+#else
   p_str->p_str = (char*)malloc(ini_capacity);
   p_str->capacity = p_str->p_str ? ini_capacity : 0;
   p_str->dynamic = !!p_str->p_str;
   memset(p_str->p_str, 0, p_str->capacity);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -48,6 +56,9 @@ void as_dynstr_ini(as_dynstr_t *p_str, size_t ini_capacity)
 
 void as_dynstr_ini_clone(as_dynstr_t *p_str, const as_dynstr_t *p_src)
 {
+#if 1
+ abort();
+#else
   p_str->p_str = (char*)malloc(p_src->capacity);
   if (p_str->p_str)
   {
@@ -60,6 +71,7 @@ void as_dynstr_ini_clone(as_dynstr_t *p_str, const as_dynstr_t *p_src)
     p_str->capacity = 0;
     p_str->dynamic = 0;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -71,6 +83,9 @@ void as_dynstr_ini_clone(as_dynstr_t *p_str, const as_dynstr_t *p_src)
 
 void as_dynstr_ini_c_str(as_dynstr_t *p_str, const char *p_src)
 {
+#if 1
+ abort();
+#else
   size_t capacity = as_dynstr_roundup_len(strlen(p_src));
 
   p_str->p_str = (char*)malloc(capacity);
@@ -85,6 +100,7 @@ void as_dynstr_ini_c_str(as_dynstr_t *p_str, const char *p_src)
     p_str->capacity = 0;
     p_str->dynamic = 0;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -97,6 +113,9 @@ void as_dynstr_ini_c_str(as_dynstr_t *p_str, const char *p_src)
 
 int as_dynstr_realloc(as_dynstr_t *p_str, size_t new_capacity)
 {
+#if 1
+ abort();
+#else
   char *p_new;
   size_t old_capacity;
 
@@ -115,6 +134,7 @@ int as_dynstr_realloc(as_dynstr_t *p_str, size_t new_capacity)
   }
   else
     return ENOMEM;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -125,11 +145,15 @@ int as_dynstr_realloc(as_dynstr_t *p_str, size_t new_capacity)
 
 void as_dynstr_free(as_dynstr_t *p_str)
 {
+#if 1
+ abort();
+#else
   if (p_str->dynamic && p_str->p_str)
     free(p_str->p_str);
   p_str->p_str = NULL;
   p_str->capacity = 0;
   p_str->dynamic = 0;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -142,7 +166,11 @@ void as_dynstr_free(as_dynstr_t *p_str)
 
 size_t as_dynstr_copy(as_dynstr_t *p_dest, const as_dynstr_t *p_src)
 {
+#if 1
+ abort();
+#else
   return as_dynstr_copy_c_str(p_dest, p_src->p_str);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -155,6 +183,9 @@ size_t as_dynstr_copy(as_dynstr_t *p_dest, const as_dynstr_t *p_src)
 
 size_t as_dynstr_copy_c_str(as_dynstr_t *p_dest, const char *p_src)
 {
+#if 1
+ abort();
+#else
   size_t len = strlen(p_src);
 
   if ((len >= p_dest->capacity) && p_dest->dynamic)
@@ -165,6 +196,7 @@ size_t as_dynstr_copy_c_str(as_dynstr_t *p_dest, const char *p_src)
   memcpy(p_dest->p_str, p_src, len);
   p_dest->p_str[len] = '\0';
   return len;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -177,6 +209,9 @@ size_t as_dynstr_copy_c_str(as_dynstr_t *p_dest, const char *p_src)
 
 size_t as_dynstr_append_c_str(as_dynstr_t *p_dest, const char *p_src)
 {
+#if 1
+ abort();
+#else
   size_t src_len = strlen(p_src),
          dest_len = strlen(p_dest->p_str);
 
@@ -187,6 +222,7 @@ size_t as_dynstr_append_c_str(as_dynstr_t *p_dest, const char *p_src)
   memcpy(p_dest->p_str + dest_len, p_src, src_len);
   p_dest->p_str[dest_len + src_len] = '\0';
   return src_len;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -198,9 +234,13 @@ size_t as_dynstr_append_c_str(as_dynstr_t *p_dest, const char *p_src)
 
 void as_dynstr_dump_hex(FILE *p_file, const as_dynstr_t *p_str)
 {
+#if 1
+ abort();
+#else
   const char *p_run;
 
   fprintf(p_file, "[%u]", (unsigned)p_str->capacity);
   for (p_run = p_str->p_str; *p_run; p_run++) fprintf(p_file, " %02x", *p_run & 0xff);
   fprintf(p_file, "\n");
+#endif
 }
index 57f4965..89e273a 100644 (file)
@@ -8,6 +8,7 @@
 /*                                                                           */
 /*****************************************************************************/
 
+#include <stdlib.h> // Nick
 #include <string.h>
 #include <stdarg.h>
 #include "strutil.h"
 
 static tErrorNum GetDefaultCPUErrorNum(tErrorNum ThisNum)
 {
+#if 1
+ abort();
+#else
   return ThisNum ? ThisNum : ErrNum_InstructionNotSupported;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -40,6 +45,9 @@ static tErrorNum GetDefaultCPUErrorNum(tErrorNum ThisNum)
 
 static Boolean report_error_range(LargeInt value, LargeInt ref, char comp_op, tErrorNum error_num, const tStrComp *p_comp)
 {
+#if 1
+ abort();
+#else
   char s[100];
 
   as_snprintf(s, sizeof(s), "%llld %c %llld", value, comp_op, ref);
@@ -48,6 +56,7 @@ static Boolean report_error_range(LargeInt value, LargeInt ref, char comp_op, tE
   else
     WrXError(error_num, s);
   return False;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -62,12 +71,16 @@ static Boolean report_error_range(LargeInt value, LargeInt ref, char comp_op, tE
 
 Boolean ChkRangePos(LargeInt Value, LargeInt Min, LargeInt Max, const tStrComp *p_comp)
 {
+#if 1
+ abort();
+#else
   if (Value < Min)
     return report_error_range(Value, Min, '<', ErrNum_UnderRange, p_comp);
   else if (Value > Max)
     return report_error_range(Value, Max, '>', ErrNum_OverRange, p_comp);
   else
     return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -82,12 +95,16 @@ Boolean ChkRangePos(LargeInt Value, LargeInt Min, LargeInt Max, const tStrComp *
 
 Boolean ChkRangeWarnPos(LargeInt Value, LargeInt Min, LargeInt Max, const tStrComp *p_comp)
 {
+#if 1
+ abort();
+#else
   if (Value < Min)
     return report_error_range(Value, Min, '<', ErrNum_WUnderRange, p_comp);
   else if (Value > Max)
     return report_error_range(Value, Max, '>', ErrNum_WOverRange, p_comp);
   else
     return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -102,6 +119,9 @@ Boolean ChkRangeWarnPos(LargeInt Value, LargeInt Min, LargeInt Max, const tStrCo
 
 Boolean ChkArgCntExtPos(int ThisCnt, int MinCnt, int MaxCnt, const struct sLineComp *pComp)
 {
+#if 1
+ abort();
+#else
   if ((ThisCnt < MinCnt) || (ThisCnt > MaxCnt))
   {
     char Str[100];
@@ -127,6 +147,7 @@ Boolean ChkArgCntExtPos(int ThisCnt, int MinCnt, int MaxCnt, const struct sLineC
   }
   else
     return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -140,6 +161,9 @@ Boolean ChkArgCntExtPos(int ThisCnt, int MinCnt, int MaxCnt, const struct sLineC
 
 Boolean ChkArgCntExtEitherOr(int ThisCnt, int EitherCnt, int OrCnt)
 {
+#if 1
+ abort();
+#else
   if ((ThisCnt != EitherCnt) && (ThisCnt != OrCnt))
   {
     char Str[100];
@@ -150,6 +174,7 @@ Boolean ChkArgCntExtEitherOr(int ThisCnt, int EitherCnt, int OrCnt)
   }
   else
     return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -162,6 +187,9 @@ Boolean ChkArgCntExtEitherOr(int ThisCnt, int EitherCnt, int OrCnt)
 
 extern Boolean ChkMinCPUExt(CPUVar MinCPU, tErrorNum ErrorNum)
 {
+#if 1
+ abort();
+#else
   if (MomCPU < MinCPU)
   {
     const tCPUDef *pCPUDef;
@@ -180,6 +208,7 @@ extern Boolean ChkMinCPUExt(CPUVar MinCPU, tErrorNum ErrorNum)
     return False;
   }
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -193,12 +222,16 @@ extern Boolean ChkMinCPUExt(CPUVar MinCPU, tErrorNum ErrorNum)
 
 Boolean AChkMinCPUExtPos(CPUVar MinCPU, tErrorNum ErrorNum, const struct sStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   if (MomCPU < MinCPU)
   {
     WrStrErrorPos(ErrorNum, pComp);
     return False;
   }
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -211,6 +244,9 @@ Boolean AChkMinCPUExtPos(CPUVar MinCPU, tErrorNum ErrorNum, const struct sStrCom
 
 extern Boolean ChkMaxCPUExt(CPUVar MaxCPU, tErrorNum ErrorNum)
 {
+#if 1
+ abort();
+#else
   if (MomCPU > MaxCPU)
   {
     const tCPUDef *pCPUDef;
@@ -229,6 +265,7 @@ extern Boolean ChkMaxCPUExt(CPUVar MaxCPU, tErrorNum ErrorNum)
     return False;
   }
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -242,6 +279,9 @@ extern Boolean ChkMaxCPUExt(CPUVar MaxCPU, tErrorNum ErrorNum)
 
 extern Boolean ChkRangeCPUExt(CPUVar MinCPU, CPUVar MaxCPU, tErrorNum ErrorNum)
 {
+#if 1
+ abort();
+#else
   if ((MomCPU < MinCPU) || (MomCPU > MaxCPU))
   {
     const tCPUDef *pCPUDefMin, *pCPUDefMax;
@@ -261,6 +301,7 @@ extern Boolean ChkRangeCPUExt(CPUVar MinCPU, CPUVar MaxCPU, tErrorNum ErrorNum)
     return False;
   }
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -273,6 +314,9 @@ extern Boolean ChkRangeCPUExt(CPUVar MinCPU, CPUVar MaxCPU, tErrorNum ErrorNum)
 
 extern Boolean ChkExactCPUExt(CPUVar MatchCPU, tErrorNum ErrorNum)
 {
+#if 1
+ abort();
+#else
   if (MomCPU != MatchCPU)
   {
     const tCPUDef *pCPUDef;
@@ -291,6 +335,7 @@ extern Boolean ChkExactCPUExt(CPUVar MatchCPU, tErrorNum ErrorNum)
     return False;
   }
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -313,6 +358,9 @@ typedef struct
 
 static void IterateExclude(const tCPUDef *pThisCPUDef, void *pUser)
 {
+#if 1
+ abort();
+#else
   tExcludeContext *pContext = (tExcludeContext*)pUser;
 
   /* ignore other families or aliases */
@@ -333,10 +381,14 @@ static void IterateExclude(const tCPUDef *pThisCPUDef, void *pUser)
     pContext->First = False;
   }
   pContext->pLastCPUDef = pThisCPUDef;
+#endif
 }
 
 extern Boolean ChkExcludeCPUExt(CPUVar MatchCPU, tErrorNum ErrorNum)
 {
+#if 1
+ abort();
+#else
   tExcludeContext Context;
 
   if (MomCPU != MatchCPU)
@@ -359,6 +411,7 @@ extern Boolean ChkExcludeCPUExt(CPUVar MatchCPU, tErrorNum ErrorNum)
   else
     WrError(GetDefaultCPUErrorNum(ErrorNum));
   return False;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -371,6 +424,9 @@ extern Boolean ChkExcludeCPUExt(CPUVar MatchCPU, tErrorNum ErrorNum)
 
 int ChkExcludeCPUList(int ErrorNum, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   int Index = -1, FoundIndex = 0;
   CPUVar ThisCPU;
@@ -432,6 +488,7 @@ int ChkExcludeCPUList(int ErrorNum, ...)
   }
 
   return FoundIndex;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -444,6 +501,9 @@ int ChkExcludeCPUList(int ErrorNum, ...)
 
 extern int ChkExactCPUList(int ErrorNum, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   String Str;
   CPUVar ThisCPU, NextCPU;
@@ -486,6 +546,7 @@ extern int ChkExactCPUList(int ErrorNum, ...)
   strmaxcat(Str, getmessage(Num_ErrMsgOnlyCPUSupported2), sizeof(Str));
   WrXError(GetDefaultCPUErrorNum((tErrorNum)ErrorNum), Str);
   return -1;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -500,6 +561,9 @@ extern int ChkExactCPUList(int ErrorNum, ...)
 
 int ChkExactCPUMaskExt(Word CPUMask, CPUVar FirstCPU, tErrorNum ErrorNum)
 {
+#if 1
+ abort();
+#else
   int Bit = MomCPU - FirstCPU;
   String Str;
   const tCPUDef *pCPUDef;
@@ -528,6 +592,7 @@ int ChkExactCPUMaskExt(Word CPUMask, CPUVar FirstCPU, tErrorNum ErrorNum)
   strmaxcat(Str, getmessage(Num_ErrMsgOnlyCPUSupported2), sizeof(Str));
   WrXError(ErrorNum ? ErrorNum : ErrNum_InstructionNotSupported, Str);
   return -1;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -541,10 +606,14 @@ int ChkExactCPUMaskExt(Word CPUMask, CPUVar FirstCPU, tErrorNum ErrorNum)
 
 Boolean ChkSamePage(LargeWord CurrAddr, LargeWord DestAddr, unsigned PageBits, tSymbolFlags DestFlags)
 {
+#if 1
+ abort();
+#else
   LargeWord Mask = ~((1ul << PageBits) - 1);
   Boolean Result = ((CurrAddr & Mask) == (DestAddr & Mask))
                 || mFirstPassUnknownOrQuestionable(DestFlags);
   if (!Result)
     WrError(ErrNum_TargOnDiffPage);
   return Result;
+#endif
 }
index 61bfd08..09d749c 100644 (file)
@@ -28,6 +28,9 @@ int RadixBase;
 
 static Boolean ChkIntFormatCHex(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   if ((pCtx->ExprLen > 2)
    && (*pCtx->pExpr == '0')
    && (RadixBase <= Ch - 'A' + 10)
@@ -38,10 +41,14 @@ static Boolean ChkIntFormatCHex(tIntCheckCtx *pCtx, char Ch)
     return True;
   }
   return False;
+#endif
 }
 
 static Boolean ChkIntFormatCBin(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   if ((pCtx->ExprLen > 2)
    && (*pCtx->pExpr == '0')
    && (RadixBase <= Ch - 'A' + 10)
@@ -57,10 +64,14 @@ static Boolean ChkIntFormatCBin(tIntCheckCtx *pCtx, char Ch)
     return True;
   }
   return False;
+#endif
 }
 
 static Boolean ChkIntFormatMot(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   if ((pCtx->ExprLen > 1)
    && (*pCtx->pExpr == Ch))
   {
@@ -69,10 +80,14 @@ static Boolean ChkIntFormatMot(tIntCheckCtx *pCtx, char Ch)
     return True;
   }
   return False;
+#endif
 }
 
 static Boolean ChkIntFormatInt(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   if ((pCtx->ExprLen < 2) || !as_isdigit(*pCtx->pExpr))
     return False;
   if ((RadixBase <= Ch - 'A' + 10)
@@ -82,10 +97,14 @@ static Boolean ChkIntFormatInt(tIntCheckCtx *pCtx, char Ch)
     return True;
   }
   return False;
+#endif
 }
 
 static Boolean ChkIntFormatIBM(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   if ((pCtx->ExprLen < 3)
    || (as_toupper(*pCtx->pExpr) != Ch)
    || (pCtx->pExpr[1] != '\''))
@@ -103,10 +122,14 @@ static Boolean ChkIntFormatIBM(tIntCheckCtx *pCtx, char Ch)
     return True;
   }
   return False;
+#endif
 }
 
 static Boolean ChkIntFormatCOct(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   const char *pRun;
   UNUSED(Ch);
 
@@ -117,10 +140,14 @@ static Boolean ChkIntFormatCOct(tIntCheckCtx *pCtx, char Ch)
     if (DigitVal(*pRun, 8) < 0)
       return False;
   return True;
+#endif
 }
 
 static Boolean ChkIntFormatNatHex(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   const char *pRun;
   UNUSED(Ch);
 
@@ -131,13 +158,18 @@ static Boolean ChkIntFormatNatHex(tIntCheckCtx *pCtx, char Ch)
     if (!as_isxdigit(*pRun))
       return False;
   return True;
+#endif
 }
 
 static Boolean ChkIntFormatDef(tIntCheckCtx *pCtx, char Ch)
 {
+#if 1
+ abort();
+#else
   UNUSED(pCtx);
   UNUSED(Ch);
   return True;
+#endif
 }
 
 static const tIntFormatList IntFormatList_All[] =
@@ -170,6 +202,9 @@ static const tIntFormatList IntFormatList_All[] =
 
 const char *GetIntConstIntelSuffix(unsigned Radix)
 {
+#if 1
+ abort();
+#else
   static const char BaseLetters[3] =
   {
     'B', 'O', 'H'
@@ -185,6 +220,7 @@ const char *GetIntConstIntelSuffix(unsigned Radix)
       return Result;
     }
   return "";
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -196,6 +232,9 @@ const char *GetIntConstIntelSuffix(unsigned Radix)
 
 const char *GetIntConstMotoPrefix(unsigned Radix)
 {
+#if 1
+ abort();
+#else
   static const char BaseIds[3] =
   {
     '%', '@', '$'
@@ -211,6 +250,7 @@ const char *GetIntConstMotoPrefix(unsigned Radix)
       return Result;
     }
   return "";
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -222,6 +262,9 @@ const char *GetIntConstMotoPrefix(unsigned Radix)
 
 const char *GetIntConstCPrefix(unsigned Radix)
 {
+#if 1
+ abort();
+#else
   static const char BaseIds[3][3] =
   {
     "0b", "0", "0x"
@@ -232,6 +275,7 @@ const char *GetIntConstCPrefix(unsigned Radix)
     if (Radix == BaseVals[BaseIdx])
       return BaseIds[BaseIdx];;
   return "";
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -243,6 +287,9 @@ const char *GetIntConstCPrefix(unsigned Radix)
 
 const char *GetIntConstIBMPrefix(unsigned Radix)
 {
+#if 1
+ abort();
+#else
   static const char BaseIds[3] =
   {
     'B', 'O', 'X'
@@ -258,6 +305,7 @@ const char *GetIntConstIBMPrefix(unsigned Radix)
       return Result;
     }
   return "";
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -269,12 +317,16 @@ const char *GetIntConstIBMPrefix(unsigned Radix)
 
 const char *GetIntConstIBMSuffix(unsigned Radix)
 {
+#if 1
+ abort();
+#else
   unsigned BaseIdx;
 
   for (BaseIdx = 0; BaseIdx < sizeof(BaseVals) / sizeof(*BaseVals); BaseIdx++)
     if (Radix == BaseVals[BaseIdx])
       return "\'";
   return "";
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -285,6 +337,9 @@ const char *GetIntConstIBMSuffix(unsigned Radix)
 
 void SetIntConstModeByMask(LongWord Mask)
 {
+#if 1
+ abort();
+#else
   const tIntFormatList *pSrc;
   tIntFormatList *pDest;
 
@@ -297,6 +352,7 @@ void SetIntConstModeByMask(LongWord Mask)
     *pDest++ = *pSrc;
   }
   memset(pDest, 0, sizeof(*pDest));
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -311,6 +367,9 @@ void SetIntConstModeByMask(LongWord Mask)
 
 Boolean ModifyIntConstModeByMask(LongWord ANDMask, LongWord ORMask)
 {
+#if 1
+ abort();
+#else
   LongWord NewMask = (NativeIntConstModeMask & ~ANDMask) | ORMask;
 
   if ((NewMask & BadMask) == BadMask)
@@ -321,6 +380,7 @@ Boolean ModifyIntConstModeByMask(LongWord ANDMask, LongWord ORMask)
     SetIntConstModeByMask(NativeIntConstModeMask | (RelaxedMode ? OtherIntConstModeMask : 0));
     return True;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -331,6 +391,9 @@ Boolean ModifyIntConstModeByMask(LongWord ANDMask, LongWord ORMask)
 
 void SetIntConstMode(tIntConstMode Mode)
 {
+#if 1
+ abort();
+#else
   IntConstMode = Mode;
   switch (Mode)
   {
@@ -355,6 +418,7 @@ void SetIntConstMode(tIntConstMode Mode)
   }
   NativeIntConstModeMask |= (1ul << eIntFormatDefRadix);
   SetIntConstModeByMask(NativeIntConstModeMask | (RelaxedMode ? OtherIntConstModeMask : 0));
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -365,7 +429,11 @@ void SetIntConstMode(tIntConstMode Mode)
 
 void SetIntConstRelaxedMode(Boolean NewRelaxedMode)
 {
+#if 1
+ abort();
+#else
   SetIntConstModeByMask(NativeIntConstModeMask | (NewRelaxedMode ? OtherIntConstModeMask : 0));
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -377,11 +445,15 @@ void SetIntConstRelaxedMode(Boolean NewRelaxedMode)
 
 tIntFormatId GetIntFormatId(const char *pIdent)
 {
+#if 1
+ abort();
+#else
   const tIntFormatList *pList;
   for (pList = IntFormatList_All; pList->Check; pList++)
    if (!as_strcasecmp(pIdent, pList->Ident))
      return (tIntFormatId)pList->Id;
   return eIntFormatNone;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -391,8 +463,12 @@ tIntFormatId GetIntFormatId(const char *pIdent)
 
 void intformat_init(void)
 {
+#if 1
+ abort();
+#else
   /* Allow all int const modes for handling possible -D options: */
 
   RelaxedMode = True;
   SetIntConstMode(eIntConstModeC);
+#endif
 }
index 697b18c..6878a01 100644 (file)
@@ -92,7 +92,11 @@ tZ80Syntax CurrZ80Syntax;
 
 void _DumpCodeFill(const char *pTitle, const tCurrCodeFill *pFill)
 {
+#if 1
+ abort();
+#else
   fprintf(stderr, "%s %u %d\n", pTitle, (unsigned)pFill->FullWordCnt, pFill->LastWordFill);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -105,6 +109,9 @@ void _DumpCodeFill(const char *pTitle, const tCurrCodeFill *pFill)
 
 static Boolean SetDSFlag(struct sLayoutCtx *pCtx, tDSFlag Flag)
 {
+#if 1
+ abort();
+#else
   if ((pCtx->DSFlag != DSNone) && (pCtx->DSFlag != Flag))
   {
     WrStrErrorPos(ErrNum_MixDBDS, pCtx->pCurrComp);
@@ -112,6 +119,7 @@ static Boolean SetDSFlag(struct sLayoutCtx *pCtx, tDSFlag Flag)
   }
   pCtx->DSFlag = Flag;
   return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -124,6 +132,9 @@ static Boolean SetDSFlag(struct sLayoutCtx *pCtx, tDSFlag Flag)
 
 static Boolean IncMaxCodeLen(struct sLayoutCtx *pCtx, LongWord NumFullWords)
 {
+#if 1
+ abort();
+#else
   if (SetMaxCodeLen((pCtx->CurrCodeFill.FullWordCnt + NumFullWords) * pCtx->FullWordSize))
   {
     WrStrErrorPos(ErrNum_CodeOverflow, pCtx->pCurrComp);
@@ -131,36 +142,61 @@ static Boolean IncMaxCodeLen(struct sLayoutCtx *pCtx, LongWord NumFullWords)
   }
   else
     return True;
+#endif
 }
 
 static LargeWord ByteInWord(Byte b, int Pos)
 {
+#if 1
+ abort();
+#else
   return ((LargeWord)b) << (Pos << 3);
+#endif
 }
 
 static Byte NibbleInByte(Byte n, int Pos)
 {
+#if 1
+ abort();
+#else
   return (n & 15) << (Pos << 2);
+#endif
 }
 
 static Word NibbleInWord(Byte n, int Pos)
 {
+#if 1
+ abort();
+#else
   return ((Word)(n & 15)) << (Pos << 2);
+#endif
 }
 
 static Byte ByteFromWord(LargeWord w, int Pos)
 {
+#if 1
+ abort();
+#else
   return (w >> (Pos << 3)) & 0xff;
+#endif
 }
 
 static Byte NibbleFromByte(Byte b, int Pos)
 {
+#if 1
+ abort();
+#else
   return (b >> (Pos << 2)) & 0x0f;
+#endif
 }
 
 static Byte NibbleFromWord(Word w, int Pos)
 {
+#if 1
+ abort();
+#else
   return (w >> (Pos << 2)) & 0x0f;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -172,12 +208,16 @@ static Byte NibbleFromWord(Word w, int Pos)
 
 static void SubCodeFill(tCurrCodeFill *c, const tCurrCodeFill *a, const tCurrCodeFill *b, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   c->FullWordCnt = a->FullWordCnt - b->FullWordCnt;
   if ((c->LastWordFill = a->LastWordFill - b->LastWordFill) < 0)
   {
     c->LastWordFill += pCtx->ElemsPerFullWord;
     c->FullWordCnt--;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -189,6 +229,9 @@ static void SubCodeFill(tCurrCodeFill *c, const tCurrCodeFill *a, const tCurrCod
 
 static void MultCodeFill(tCurrCodeFill *b, LongWord a, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   b->FullWordCnt *= a;
   b->LastWordFill *= a;
   if (pCtx->ElemsPerFullWord > 1)
@@ -198,6 +241,7 @@ static void MultCodeFill(tCurrCodeFill *b, LongWord a, struct sLayoutCtx *pCtx)
     b->FullWordCnt += div;
     b->LastWordFill = mod;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -209,11 +253,15 @@ static void MultCodeFill(tCurrCodeFill *b, LongWord a, struct sLayoutCtx *pCtx)
 
 static void IncCodeFill(tCurrCodeFill *a, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (++a->LastWordFill >= pCtx->ElemsPerFullWord)
   {
     a->LastWordFill -= pCtx->ElemsPerFullWord;
     a->FullWordCnt++;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -225,6 +273,9 @@ static void IncCodeFill(tCurrCodeFill *a, struct sLayoutCtx *pCtx)
 
 static Boolean IncCurrCodeFill(struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   LongInt OldFullWordCnt = pCtx->CurrCodeFill.FullWordCnt;
 
   IncCodeFill(&pCtx->CurrCodeFill, pCtx);
@@ -237,6 +288,7 @@ static Boolean IncCurrCodeFill(struct sLayoutCtx *pCtx)
     WAsmCode[pCtx->CurrCodeFill.FullWordCnt] = 0;
     return True;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -249,6 +301,9 @@ static Boolean IncCurrCodeFill(struct sLayoutCtx *pCtx)
 
 static void IncCodeFillBy(tCurrCodeFill *a, const tCurrCodeFill *inc, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   a->LastWordFill += inc->LastWordFill;
   if ((pCtx->ElemsPerFullWord > 1) && (a->LastWordFill >= pCtx->ElemsPerFullWord))
   {
@@ -256,6 +311,7 @@ static void IncCodeFillBy(tCurrCodeFill *a, const tCurrCodeFill *inc, struct sLa
     a->FullWordCnt++;
   }
   a->FullWordCnt += inc->FullWordCnt;
+#endif
 }
 
 /*****************************************************************************
@@ -267,6 +323,9 @@ static void IncCodeFillBy(tCurrCodeFill *a, const tCurrCodeFill *inc, struct sLa
 
 static Boolean Put4I_To_8(Byte b, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   tCurrCodeFill Pos = pCtx->CurrCodeFill;
   if (!IncCurrCodeFill(pCtx))
     return False;
@@ -275,10 +334,14 @@ static Boolean Put4I_To_8(Byte b, struct sLayoutCtx *pCtx)
   else
     BAsmCode[Pos.FullWordCnt] |= NibbleInByte(b, Pos.LastWordFill ^ pCtx->LoHiMap);
   return True;
+#endif
 }
 
 static Boolean Replicate4_To_8(const tCurrCodeFill *pStartPos, const tCurrCodeFill *pEndPos, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte b;
   tCurrCodeFill CurrPos;
 
@@ -292,10 +355,14 @@ static Boolean Replicate4_To_8(const tCurrCodeFill *pStartPos, const tCurrCodeFi
   }
 
   return True;
+#endif
 }
 
 static Boolean Put4I_To_16(Byte b, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   tCurrCodeFill Pos = pCtx->CurrCodeFill;
   if (!IncCurrCodeFill(pCtx))
     return False;
@@ -304,10 +371,14 @@ static Boolean Put4I_To_16(Byte b, struct sLayoutCtx *pCtx)
   else
     WAsmCode[Pos.FullWordCnt] |= NibbleInWord(b, Pos.LastWordFill ^ pCtx->LoHiMap);
   return True;
+#endif
 }
 
 static Boolean Replicate4_To_16(const tCurrCodeFill *pStartPos, const tCurrCodeFill *pEndPos, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte b;
   tCurrCodeFill CurrPos;
 
@@ -321,10 +392,14 @@ static Boolean Replicate4_To_16(const tCurrCodeFill *pStartPos, const tCurrCodeF
   }
 
   return True;
+#endif
 }
 
 static Boolean LayoutNibble(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Boolean Result = False;
   TempResult t;
 
@@ -355,6 +430,7 @@ static Boolean LayoutNibble(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 func_exit:
   as_tempres_free(&t);
   return Result;
+#endif
 }
 
 /*****************************************************************************
@@ -366,14 +442,21 @@ func_exit:
 
 static Boolean Put8I_To_8(Byte b, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 1))
     return False;
   BAsmCode[pCtx->CurrCodeFill.FullWordCnt++] = b;
   return True;
+#endif
 }
 
 static Boolean Put8I_To_16(Byte b, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   tCurrCodeFill Pos = pCtx->CurrCodeFill;
   if (!IncCurrCodeFill(pCtx))
     return False;
@@ -382,10 +465,14 @@ static Boolean Put8I_To_16(Byte b, struct sLayoutCtx *pCtx)
   else
     WAsmCode[Pos.FullWordCnt] |= ByteInWord(b, Pos.LastWordFill ^ pCtx->LoHiMap);
   return True;
+#endif
 }
 
 static Boolean Replicate8ToN_To_8(const tCurrCodeFill *pStartPos, const tCurrCodeFill *pEndPos, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   tCurrCodeFill Pos;
 
   if (!IncMaxCodeLen(pCtx, pEndPos->FullWordCnt - pStartPos->FullWordCnt))
@@ -403,10 +490,14 @@ static Boolean Replicate8ToN_To_8(const tCurrCodeFill *pStartPos, const tCurrCod
   }
 
   return True;
+#endif
 }
 
 static Boolean Replicate8_To_16(const tCurrCodeFill *pStartPos, const tCurrCodeFill *pEndPos, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte b;
   tCurrCodeFill CurrPos;
 
@@ -420,10 +511,14 @@ static Boolean Replicate8_To_16(const tCurrCodeFill *pStartPos, const tCurrCodeF
   }
 
   return True;
+#endif
 }
 
 static Boolean LayoutByte(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Boolean Result = False;
   TempResult t;
 
@@ -468,6 +563,7 @@ static Boolean LayoutByte(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 func_exit:
   as_tempres_free(&t);
   return Result;
+#endif
 }
 
 /*****************************************************************************
@@ -479,16 +575,23 @@ func_exit:
 
 static Boolean Put16I_To_8(Word w, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 2))
     return False;
   BAsmCode[pCtx->CurrCodeFill.FullWordCnt + (0 ^ pCtx->LoHiMap)] = Lo(w);
   BAsmCode[pCtx->CurrCodeFill.FullWordCnt + (1 ^ pCtx->LoHiMap)] = Hi(w);
   pCtx->CurrCodeFill.FullWordCnt += 2;
   return True;
+#endif
 }
 
 static Boolean Put16F_To_8(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 2))
     return False;
   if (!Double_2_ieee2(t, BAsmCode + pCtx->CurrCodeFill.FullWordCnt, !!pCtx->LoHiMap))
@@ -498,18 +601,26 @@ static Boolean Put16F_To_8(Double t, struct sLayoutCtx *pCtx)
   }
   pCtx->CurrCodeFill.FullWordCnt += 2;
   return True;
+#endif
 }
 
 static Boolean Put16I_To_16(Word w, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 1))
     return False;
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt++] = w;
   return True;
+#endif
 }
 
 static Boolean Put16F_To_16(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte Tmp[2];
 
   if (!IncMaxCodeLen(pCtx, 1))
@@ -519,10 +630,14 @@ static Boolean Put16F_To_16(Double t, struct sLayoutCtx *pCtx)
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + 0] = ByteInWord(Tmp[0], 0 ^ pCtx->LoHiMap) | ByteInWord(Tmp[1], 1 ^ pCtx->LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 1;
   return True;
+#endif
 }
 
 static Boolean Replicate16ToN_To_16(const tCurrCodeFill *pStartPos, const tCurrCodeFill *pEndPos, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   tCurrCodeFill Pos;
 
   if (!IncMaxCodeLen(pCtx, pEndPos->FullWordCnt - pStartPos->FullWordCnt))
@@ -540,10 +655,14 @@ static Boolean Replicate16ToN_To_16(const tCurrCodeFill *pStartPos, const tCurrC
   }
 
   return True;
+#endif
 }
 
 static Boolean LayoutWord(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Boolean Result = False;
   TempResult t;
 
@@ -602,6 +721,7 @@ static Boolean LayoutWord(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 func_exit:
   as_tempres_free(&t);
   return Result;
+#endif
 }
 
 /*****************************************************************************
@@ -613,6 +733,9 @@ func_exit:
 
 static Boolean Put32I_To_8(LongWord l, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 4))
     return False;
   BAsmCode[pCtx->CurrCodeFill.FullWordCnt + (0 ^ pCtx->LoHiMap)] = (l      ) & 0xff;
@@ -621,29 +744,41 @@ static Boolean Put32I_To_8(LongWord l, struct sLayoutCtx *pCtx)
   BAsmCode[pCtx->CurrCodeFill.FullWordCnt + (3 ^ pCtx->LoHiMap)] = (l >> 24) & 0xff;
   pCtx->CurrCodeFill.FullWordCnt += 4;
   return True;
+#endif
 }
 
 static Boolean Put32F_To_8(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 4))
     return False;
   Double_2_ieee4(t, BAsmCode + pCtx->CurrCodeFill.FullWordCnt, !!pCtx->LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 4;
   return True;
+#endif
 }
 
 static Boolean Put32I_To_16(LongWord l, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 2))
     return False;
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + (0 ^ pCtx->LoHiMap)] = LoWord(l);
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + (1 ^ pCtx->LoHiMap)] = HiWord(l);
   pCtx->CurrCodeFill.FullWordCnt += 2;
   return True;
+#endif
 }
 
 static Boolean Put32F_To_16(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte Tmp[4];
 
   if (!IncMaxCodeLen(pCtx, 2))
@@ -653,10 +788,14 @@ static Boolean Put32F_To_16(Double t, struct sLayoutCtx *pCtx)
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + 1] = ByteInWord(Tmp[2], 0 ^ pCtx->LoHiMap) | ByteInWord(Tmp[3], 1 ^ pCtx->LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 2;
   return True;
+#endif
 }
 
 static Boolean LayoutDoubleWord(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   TempResult erg;
   Boolean Result = False;
   Word Cnt = 0;
@@ -725,6 +864,7 @@ static Boolean LayoutDoubleWord(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 func_exit:
   as_tempres_free(&erg);
   return Result;
+#endif
 }
 
 
@@ -737,6 +877,9 @@ func_exit:
 
 static Boolean Put64I_To_8(LargeWord l, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 8))
     return False;
   BAsmCode[pCtx->CurrCodeFill.FullWordCnt + (0 ^ pCtx->LoHiMap)] = (l      ) & 0xff;
@@ -757,19 +900,27 @@ static Boolean Put64I_To_8(LargeWord l, struct sLayoutCtx *pCtx)
 #endif
   pCtx->CurrCodeFill.FullWordCnt += 8;
   return True;
+#endif
 }
 
 static Boolean Put64F_To_8(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 8))
     return False;
   Double_2_ieee8(t, BAsmCode + pCtx->CurrCodeFill.FullWordCnt, !!pCtx->LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 8;
   return True;
+#endif
 }
 
 static Boolean Put64I_To_16(LargeWord l, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 4))
     return False;
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + (0 ^ pCtx->LoHiMap)] = (l      ) & 0xffff;
@@ -784,10 +935,14 @@ static Boolean Put64I_To_16(LargeWord l, struct sLayoutCtx *pCtx)
 #endif
   pCtx->CurrCodeFill.FullWordCnt += 4;
   return True;
+#endif
 }
 
 static Boolean Put64F_To_16(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte Tmp[8];
   int LoHiMap = pCtx->LoHiMap & 1;
 
@@ -800,10 +955,14 @@ static Boolean Put64F_To_16(Double t, struct sLayoutCtx *pCtx)
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + 3] = ByteInWord(Tmp[6], 0 ^ LoHiMap) | ByteInWord(Tmp[7], 1 ^ LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 4;
   return True;
+#endif
 }
 
 static Boolean LayoutQuadWord(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Boolean Result = False;
   TempResult erg;
   Word Cnt  = 0;
@@ -863,6 +1022,7 @@ static Boolean LayoutQuadWord(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 func_exit:
   as_tempres_free(&erg);
   return Result;
+#endif
 }
 
 /*****************************************************************************
@@ -874,15 +1034,22 @@ func_exit:
 
 static Boolean Put80F_To_8(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   if (!IncMaxCodeLen(pCtx, 10))
     return False;
   Double_2_ieee10(t, BAsmCode + pCtx->CurrCodeFill.FullWordCnt, !!pCtx->LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 10;
   return True;
+#endif
 }
 
 static Boolean Put80F_To_16(Double t, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Byte Tmp[10];
   int LoHiMap = pCtx->LoHiMap & 1;
 
@@ -896,10 +1063,14 @@ static Boolean Put80F_To_16(Double t, struct sLayoutCtx *pCtx)
   WAsmCode[pCtx->CurrCodeFill.FullWordCnt + 4] = ByteInWord(Tmp[8], 0 ^ LoHiMap) | ByteInWord(Tmp[9], 1 ^ LoHiMap);
   pCtx->CurrCodeFill.FullWordCnt += 5;
   return True;
+#endif
 }
 
 static Boolean LayoutTenBytes(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   Boolean Result = False;
   TempResult erg;
   Word Cnt;
@@ -949,6 +1120,7 @@ static Boolean LayoutTenBytes(const tStrComp *pExpr, struct sLayoutCtx *pCtx)
 func_exit:
   as_tempres_free(&erg);
   return Result;
+#endif
 }
 
 /*****************************************************************************
@@ -963,16 +1135,23 @@ func_exit:
 
 static Boolean DecodeIntelPseudo_ValidSymChar(char ch)
 {
+#if 1
+ abort();
+#else
   ch = as_toupper(ch);
 
   return (((ch >= 'A') && (ch <= 'Z'))
        || ((ch >= '0') && (ch <= '9'))
        || (ch == '_')
        || (ch == '.'));
+#endif
 }
 
 static void DecodeIntelPseudo_HandleQuote(int *pDepth, Byte *pQuote, char Ch)
 {
+#if 1
+ abort();
+#else
   switch (Ch)
   {
     case '(':
@@ -992,10 +1171,14 @@ static void DecodeIntelPseudo_HandleQuote(int *pDepth, Byte *pQuote, char Ch)
         (*pQuote) ^= 2;
       break;
   }
+#endif
 }
 
 static Boolean DecodeIntelPseudo_LayoutMult(const tStrComp *pArg, struct sLayoutCtx *pCtx)
 {
+#if 1
+ abort();
+#else
   int z, Depth, Len, LastNonBlank;
   Boolean OK, LastValid, Result;
   Byte Quote;
@@ -1158,6 +1341,7 @@ static Boolean DecodeIntelPseudo_LayoutMult(const tStrComp *pArg, struct sLayout
 func_exit:
   pCtx->pCurrComp = pSaveComp;
   return Result;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1168,6 +1352,9 @@ func_exit:
 
 static void DecodeIntelDx(tLayoutCtx *pLayoutCtx)
 {
+#if 1
+ abort();
+#else
   tStrComp *pArg;
   Boolean OK;
 
@@ -1219,6 +1406,7 @@ static void DecodeIntelDx(tLayoutCtx *pLayoutCtx)
   }
   if (OK && (pLayoutCtx->FullWordSize == 1))
     ActListGran = 1;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1229,6 +1417,9 @@ static void DecodeIntelDx(tLayoutCtx *pLayoutCtx)
 
 void DecodeIntelDN(Word Flags)
 {
+#if 1
+ abort();
+#else
   tLayoutCtx LayoutCtx;
 
   memset(&LayoutCtx, 0, sizeof(LayoutCtx));
@@ -1248,6 +1439,7 @@ void DecodeIntelDN(Word Flags)
       break;
   }
   DecodeIntelDx(&LayoutCtx);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1258,6 +1450,9 @@ void DecodeIntelDN(Word Flags)
 
 void DecodeIntelDB(Word Flags)
 {
+#if 1
+ abort();
+#else
   tLayoutCtx LayoutCtx;
 
   memset(&LayoutCtx, 0, sizeof(LayoutCtx));
@@ -1278,6 +1473,7 @@ void DecodeIntelDB(Word Flags)
   if (*LabPart.str.p_str)
     SetSymbolOrStructElemSize(&LabPart, eSymbolSize8Bit);
   DecodeIntelDx(&LayoutCtx);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1288,6 +1484,9 @@ void DecodeIntelDB(Word Flags)
 
 void DecodeIntelDW(Word Flags)
 {
+#if 1
+ abort();
+#else
   tLayoutCtx LayoutCtx;
 
   memset(&LayoutCtx, 0, sizeof(LayoutCtx));
@@ -1310,6 +1509,7 @@ void DecodeIntelDW(Word Flags)
   if (*LabPart.str.p_str)
     SetSymbolOrStructElemSize(&LabPart, eSymbolSize16Bit);
   DecodeIntelDx(&LayoutCtx);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1320,6 +1520,9 @@ void DecodeIntelDW(Word Flags)
 
 void DecodeIntelDD(Word Flags)
 {
+#if 1
+ abort();
+#else
   tLayoutCtx LayoutCtx;
 
   memset(&LayoutCtx, 0, sizeof(LayoutCtx));
@@ -1343,6 +1546,7 @@ void DecodeIntelDD(Word Flags)
   if (*LabPart.str.p_str)
     SetSymbolOrStructElemSize(&LabPart, eSymbolSize32Bit);
   DecodeIntelDx(&LayoutCtx);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1353,6 +1557,9 @@ void DecodeIntelDD(Word Flags)
 
 void DecodeIntelDQ(Word Flags)
 {
+#if 1
+ abort();
+#else
   tLayoutCtx LayoutCtx;
 
   memset(&LayoutCtx, 0, sizeof(LayoutCtx));
@@ -1376,6 +1583,7 @@ void DecodeIntelDQ(Word Flags)
   if (*LabPart.str.p_str)
     SetSymbolOrStructElemSize(&LabPart, eSymbolSize64Bit);
   DecodeIntelDx(&LayoutCtx);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1386,6 +1594,9 @@ void DecodeIntelDQ(Word Flags)
 
 void DecodeIntelDT(Word Flags)
 {
+#if 1
+ abort();
+#else
   tLayoutCtx LayoutCtx;
 
   memset(&LayoutCtx, 0, sizeof(LayoutCtx));
@@ -1407,6 +1618,7 @@ void DecodeIntelDT(Word Flags)
   if (*LabPart.str.p_str)
     SetSymbolOrStructElemSize(&LabPart, eSymbolSize80Bit);
   DecodeIntelDx(&LayoutCtx);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1416,6 +1628,9 @@ void DecodeIntelDT(Word Flags)
 
 void DecodeIntelDS(Word Code)
 {
+#if 1
+ abort();
+#else
   UNUSED(Code);
 
   if (ChkArgCnt(1, 1))
@@ -1434,6 +1649,7 @@ void DecodeIntelDS(Word Code)
       BookKeeping();
     }
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1445,6 +1661,9 @@ void DecodeIntelDS(Word Code)
 
 Boolean DecodeIntelPseudo(Boolean BigEndian)
 {
+#if 1
+ abort();
+#else
   static PInstTable InstTables[2] = { NULL, NULL };
   int Idx = !!BigEndian;
 
@@ -1463,6 +1682,7 @@ Boolean DecodeIntelPseudo(Boolean BigEndian)
     InstTables[Idx] = InstTable;
   }
   return LookupInstTable(InstTables[Idx], OpPart.str.p_str);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1472,6 +1692,9 @@ Boolean DecodeIntelPseudo(Boolean BigEndian)
 
 static void DecodeZ80SYNTAX(Word Code)
 {
+#if 1
+ abort();
+#else
   UNUSED(Code);
 
   if (ChkArgCnt(1, 1))
@@ -1498,6 +1721,7 @@ static void DecodeZ80SYNTAX(Word Code)
     else
       WrStrErrorPos(ErrNum_InvArg, &ArgStr[1]);
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1509,6 +1733,9 @@ static void DecodeZ80SYNTAX(Word Code)
 
 Boolean ChkZ80Syntax(tZ80Syntax InstrSyntax)
 {
+#if 1
+ abort();
+#else
   if ((InstrSyntax == eSyntax808x) && (!(CurrZ80Syntax & eSyntax808x)))
   {
     WrStrErrorPos(ErrNum_Z80SyntaxExclusive, &OpPart);
@@ -1521,6 +1748,7 @@ Boolean ChkZ80Syntax(tZ80Syntax InstrSyntax)
   }
   else
     return True;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1531,6 +1759,9 @@ Boolean ChkZ80Syntax(tZ80Syntax InstrSyntax)
 
 void AddZ80Syntax(struct sInstTable *InstTable)
 {
+#if 1
+ abort();
+#else
   if (!onoff_test_and_set(e_onoff_reg_z80syntax))
   {
     tStrComp TmpComp;
@@ -1540,4 +1771,5 @@ void AddZ80Syntax(struct sInstTable *InstTable)
     EnterIntSymbol(&TmpComp, 0, SegNone, True);
   }
   AddInstTable(InstTable, "Z80SYNTAX", 0, DecodeZ80SYNTAX);
+#endif
 }
index 39a58b1..b68f301 100644 (file)
 
 static void DecodeSFR(Word Code)
 {
+#if 1
+ abort();
+#else
   UNUSED(Code);
   CodeEquate(SegData, 0, 0xff);
+#endif
 }
 
 static void DecodeDSx(Word Shift)
 {
+#if 1
+ abort();
+#else
   if (ChkArgCnt(1, 1))
   {
     tSymbolFlags Flags;
@@ -53,10 +60,14 @@ static void DecodeDSx(Word Shift)
       BookKeeping();
     }
   }
+#endif
 }
 
 static void DecodeFx(Word Shift)
 {
+#if 1
+ abort();
+#else
   if (ChkArgCnt(2, 2))
   {
     tSymbolFlags Flags;
@@ -85,10 +96,14 @@ static void DecodeFx(Word Shift)
       }
     }
   }
+#endif
 }
 
 Boolean DecodeNatPseudo(void)
 {
+#if 1
+ abort();
+#else
   static PInstTable InstTable = NULL;
 
   if (!InstTable)
@@ -107,4 +122,5 @@ Boolean DecodeNatPseudo(void)
   }
 
   return LookupInstTable(InstTable, OpPart.str.p_str);
+#endif
 }
index 397e8fd..d643261 100644 (file)
 
 static void check_capacity(const tStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   if (!pComp->str.capacity)
   {
     fprintf(stderr, "copy to zero-capacity StrComp\n");
     abort();
   }
+#endif
 }
 
 static void check_no_capacity(const tStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   if (pComp->str.capacity)
   {
     fprintf(stderr, "ptr move on non-zero-capacity StrComp\n");
     abort();
   }
+#endif
 }
 
 static size_t check_realloc(as_dynstr_t *p_str, size_t req_count)
 {
+#if 1
+ abort();
+#else
   if ((req_count >= p_str->capacity) && p_str->dynamic)
     as_dynstr_realloc(p_str, as_dynstr_roundup_len(req_count));
   if (req_count >= p_str->capacity)
     req_count = p_str->capacity - 1;
   return req_count;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -51,8 +63,12 @@ static size_t check_realloc(as_dynstr_t *p_str, size_t req_count)
 
 void StrCompAlloc(tStrComp *pComp, size_t capacity)
 {
+#if 1
+ abort();
+#else
   as_dynstr_ini(&pComp->str, capacity);
   StrCompReset(pComp);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -63,8 +79,12 @@ void StrCompAlloc(tStrComp *pComp, size_t capacity)
 
 void StrCompReset(tStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   LineCompReset(&pComp->Pos);
   *pComp->str.p_str = '\0';
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -75,8 +95,12 @@ void StrCompReset(tStrComp *pComp)
 
 void LineCompReset(tLineComp *pComp)
 {
+#if 1
+ abort();
+#else
   pComp->StartCol = -1;
   pComp->Len = 0;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -87,8 +111,12 @@ void LineCompReset(tLineComp *pComp)
 
 void StrCompFree(tStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   LineCompReset(&pComp->Pos);
   as_dynstr_free(&pComp->str);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -101,10 +129,14 @@ void StrCompFree(tStrComp *pComp)
 
 void StrCompMkTemp(tStrComp *pComp, char *pStr, size_t capacity)
 {
+#if 1
+ abort();
+#else
   LineCompReset(&pComp->Pos);
   pComp->str.p_str = pStr;
   pComp->str.capacity = capacity;
   pComp->str.dynamic = 0;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -117,11 +149,15 @@ void StrCompMkTemp(tStrComp *pComp, char *pStr, size_t capacity)
 
 void StrCompRefRight(tStrComp *pDest, const tStrComp *pSrc, size_t StartOffs)
 {
+#if 1
+ abort();
+#else
   pDest->str.p_str = pSrc->str.p_str + StartOffs;
   pDest->str.capacity = 0;
   pDest->str.dynamic = 0;
   pDest->Pos.StartCol = pSrc->Pos.StartCol + StartOffs;
   pDest->Pos.Len = pSrc->Pos.Len - StartOffs;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -133,8 +169,12 @@ void StrCompRefRight(tStrComp *pDest, const tStrComp *pSrc, size_t StartOffs)
 
 void StrCompCopy(tStrComp *pDest, const tStrComp *pSrc)
 {
+#if 1
+ abort();
+#else
   pDest->Pos = pSrc->Pos;
   pDest->Pos.Len = as_dynstr_copy(&pDest->str, &pSrc->str);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -148,6 +188,9 @@ void StrCompCopy(tStrComp *pDest, const tStrComp *pSrc)
 
 void StrCompCopySub(tStrComp *pDest, const tStrComp *pSrc, size_t Start, size_t Count)
 {
+#if 1
+ abort();
+#else
   unsigned l = strlen(pSrc->str.p_str);
 
   if (Start >= l)
@@ -160,6 +203,7 @@ void StrCompCopySub(tStrComp *pDest, const tStrComp *pSrc, size_t Start, size_t
   pDest->str.p_str[Count] = '\0';
   pDest->Pos.StartCol = pSrc->Pos.StartCol + Start;
   pDest->Pos.Len = Count;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -172,6 +216,9 @@ void StrCompCopySub(tStrComp *pDest, const tStrComp *pSrc, size_t Start, size_t
 
 void StrCompSplitRight(tStrComp *pSrc, tStrComp *pDest, char *pSrcSplitPos)
 {
+#if 1
+ abort();
+#else
   size_t SrcLen = strlen(pSrcSplitPos + 1);
 
   check_capacity(pDest);
@@ -182,6 +229,7 @@ void StrCompSplitRight(tStrComp *pSrc, tStrComp *pDest, char *pSrcSplitPos)
   pDest->Pos.Len = SrcLen;
   *pSrcSplitPos = '\0';
   pSrc->Pos.Len = pSrcSplitPos - pSrc->str.p_str;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -194,6 +242,9 @@ void StrCompSplitRight(tStrComp *pSrc, tStrComp *pDest, char *pSrcSplitPos)
 
 void StrCompSplitLeft(tStrComp *pSrc, tStrComp *pDest, char *pSrcSplitPos)
 {
+#if 1
+ abort();
+#else
   size_t SrcLen;
 
   *pSrcSplitPos = '\0';
@@ -209,6 +260,7 @@ void StrCompSplitLeft(tStrComp *pSrc, tStrComp *pDest, char *pSrcSplitPos)
   strmov(pSrc->str.p_str, pSrcSplitPos + 1);
   pSrc->Pos.StartCol += pSrcSplitPos - pSrc->str.p_str + 1;
   pSrc->Pos.Len -= pSrcSplitPos - pSrc->str.p_str + 1;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -222,6 +274,9 @@ void StrCompSplitLeft(tStrComp *pSrc, tStrComp *pDest, char *pSrcSplitPos)
 
 void StrCompSplitCopy(tStrComp *pLeft, tStrComp *pRight, const tStrComp *pSrc, char *pSplitPos)
 {
+#if 1
+ abort();
+#else
   /* pLeft may be equal to pSrc, use memmove() and save SrcLen */
 
   size_t SrcLen = pSrc->Pos.Len;
@@ -237,6 +292,7 @@ void StrCompSplitCopy(tStrComp *pLeft, tStrComp *pRight, const tStrComp *pSrc, c
   pRight->Pos.Len = check_realloc(&pRight->str, SrcLen - (pLeft->Pos.Len + 1));
   memcpy(pRight->str.p_str, pSplitPos + 1, pRight->Pos.Len);
   pRight->str.p_str[pRight->Pos.Len] = '\0';
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -250,6 +306,9 @@ void StrCompSplitCopy(tStrComp *pLeft, tStrComp *pRight, const tStrComp *pSrc, c
 
 char StrCompSplitRef(tStrComp *pLeft, tStrComp *pRight, const tStrComp *pSrc, char *pSplitPos)
 {
+#if 1
+ abort();
+#else
   char Old = *pSplitPos;
   /* save because pLeft and pSrc might be equal */
   tLineComp SrcPos = pSrc->Pos;
@@ -270,6 +329,7 @@ char StrCompSplitRef(tStrComp *pLeft, tStrComp *pRight, const tStrComp *pSrc, ch
   pRight->Pos.Len = SrcPos.Len - (pLeft->Pos.Len + 1);
 
   return Old;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -280,9 +340,13 @@ char StrCompSplitRef(tStrComp *pLeft, tStrComp *pRight, const tStrComp *pSrc, ch
 
 void KillPrefBlanksStrComp(struct sStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   int Delta = KillPrefBlanks(pComp->str.p_str);
   pComp->Pos.StartCol += Delta;
   pComp->Pos.Len -= Delta;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -293,6 +357,9 @@ void KillPrefBlanksStrComp(struct sStrComp *pComp)
 
 void KillPrefBlanksStrCompRef(struct sStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   check_no_capacity(pComp);
   while (isspace(*pComp->str.p_str))
   {
@@ -302,6 +369,7 @@ void KillPrefBlanksStrCompRef(struct sStrComp *pComp)
     pComp->Pos.StartCol++;
     pComp->Pos.Len--;
   }
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -312,7 +380,11 @@ void KillPrefBlanksStrCompRef(struct sStrComp *pComp)
 
 void KillPostBlanksStrComp(struct sStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   pComp->Pos.Len -= KillPostBlanks(pComp->str.p_str);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -324,8 +396,12 @@ void KillPostBlanksStrComp(struct sStrComp *pComp)
 
 void StrCompShorten(struct sStrComp *pComp, size_t Delta)
 {
+#if 1
+ abort();
+#else
   pComp->str.p_str[strlen(pComp->str.p_str) - Delta] = '\0';
   pComp->Pos.Len -= Delta;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -338,6 +414,9 @@ void StrCompShorten(struct sStrComp *pComp, size_t Delta)
 
 size_t StrCompCutLeft(struct sStrComp *pComp, size_t Delta)
 {
+#if 1
+ abort();
+#else
   size_t len = strlen(pComp->str.p_str);
 
   if (Delta > len)
@@ -348,6 +427,7 @@ size_t StrCompCutLeft(struct sStrComp *pComp, size_t Delta)
   pComp->Pos.StartCol += Delta;
   pComp->Pos.Len -= Delta;
   return Delta;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -359,11 +439,15 @@ size_t StrCompCutLeft(struct sStrComp *pComp, size_t Delta)
 
 void StrCompIncRefLeft(struct sStrComp *pComp, size_t Delta)
 {
+#if 1
+ abort();
+#else
   check_no_capacity(pComp);
   pComp->str.p_str += Delta;
   pComp->str.capacity = (pComp->str.capacity > Delta) ? pComp->str.capacity - Delta : 0;
   pComp->Pos.StartCol += Delta;
   pComp->Pos.Len -= Delta;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -375,5 +459,9 @@ void StrCompIncRefLeft(struct sStrComp *pComp, size_t Delta)
 
 void DumpStrComp(const char *pTitle, const struct sStrComp *pComp)
 {
+#if 1
+ abort();
+#else
   fprintf(stderr, "%s: @ col %u len %u '%s'\n", pTitle, pComp->Pos.StartCol, pComp->Pos.Len, pComp->str.p_str);
+#endif
 }
index 3cafd68..df4d1fe 100644 (file)
@@ -26,6 +26,9 @@ char SplitByteCharacter;    /* output large numbers per-byte with given split ch
 
 const char *Blanks(int cnt)
 {
+#if 1
+ abort();
+#else
   static const char *BlkStr = "                                                                                                           ";
   static int BlkStrLen = 0;
 
@@ -38,6 +41,7 @@ const char *Blanks(int cnt)
     cnt = BlkStrLen;
 
   return BlkStr + (BlkStrLen - cnt);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -55,6 +59,9 @@ const char *Blanks(int cnt)
 
 char *SysStringCore(char *pDest, char *pDestCurr, LargeWord Num, int System, int Stellen, char StartCharacter)
 {
+#if 1
+ abort();
+#else
   LargeWord Digit;
 
   do
@@ -71,10 +78,14 @@ char *SysStringCore(char *pDest, char *pDestCurr, LargeWord Num, int System, int
   }
   while ((Stellen > 0) || Num);
   return pDestCurr;
+#endif
 }
 
 int SysString(char *pDest, size_t DestSize, LargeWord Num, int System, int Stellen, Boolean ForceLeadZero, char StartCharacter, char SplitCharacter)
 {
+#if 1
+ abort();
+#else
   int Len = 0;
   char *pDestCurr, *pDestNext;
 
@@ -134,6 +145,7 @@ int SysString(char *pDest, size_t DestSize, LargeWord Num, int System, int Stell
   if (pDestCurr != pDest)
     strmov(pDest, pDestCurr);
   return Len;
+#endif
 }
 
 /*---------------------------------------------------------------------------*/
@@ -141,6 +153,9 @@ int SysString(char *pDest, size_t DestSize, LargeWord Num, int System, int Stell
 
 char *as_strdup(const char *s)
 {
+#if 1
+ abort();
+#else
   char *ptr;
 
   if (!s)
@@ -156,6 +171,7 @@ char *as_strdup(const char *s)
   if (ptr != 0)
     strcpy(ptr, s);
   return ptr;
+#endif
 }
 /*---------------------------------------------------------------------------*/
 /* ...so is snprintf... */
@@ -178,6 +194,9 @@ typedef struct
 
 static void ResetFormatContext(tFormatContext *pContext)
 {
+#if 1
+ abort();
+#else
   int z;
 
   for (z = 0; z < 3; z++)
@@ -194,6 +213,7 @@ static void ResetFormatContext(tFormatContext *pContext)
   pContext->LeftAlign =
   pContext->AddPlus =
   pContext->ForceUpper = False;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -206,6 +226,9 @@ static void ResetFormatContext(tFormatContext *pContext)
 
 static size_t limit_minus_one(dest_format_context_t *p_dest_ctx, size_t cnt)
 {
+#if 1
+ abort();
+#else
   /* anyway still enough space? */
 
   if (p_dest_ctx->dest_remlen > cnt)
@@ -236,6 +259,7 @@ static size_t limit_minus_one(dest_format_context_t *p_dest_ctx, size_t cnt)
 
   else
     return (cnt >= p_dest_ctx->dest_remlen) ? p_dest_ctx->dest_remlen - 1 : cnt;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -249,6 +273,9 @@ static size_t limit_minus_one(dest_format_context_t *p_dest_ctx, size_t cnt)
 
 static size_t append_pad(dest_format_context_t *p_dest_ctx, char src, size_t cnt)
 {
+#if 1
+ abort();
+#else
   cnt = limit_minus_one(p_dest_ctx, cnt);
 
   if (cnt > 0)
@@ -258,11 +285,15 @@ static size_t append_pad(dest_format_context_t *p_dest_ctx, char src, size_t cnt
     p_dest_ctx->dest_remlen -= cnt;
   }
   return cnt;
+#endif
 }
 
 #if 0
 static int FloatConvert(char *pDest, size_t DestSize, double Src, int Digits, Boolean TruncateTrailingZeros, char FormatType)
 {
+#if 1
+ abort();
+#else
   int DecPt;
   int Sign, Result = 0;
   char *pBuf, *pEnd, *pRun;
@@ -298,10 +329,14 @@ static int FloatConvert(char *pDest, size_t DestSize, double Src, int Digits, Bo
   Result = pRun - pDest;
   Result += as_snprintf(pRun, DestSize - Result, "e%+02d", DecPt - 1);
   return Result;
+#endif
 }
 #else
 static int FloatConvert(char *pDest, size_t DestSize, double Src, int Digits, Boolean TruncateTrailingZeros, char FormatType)
 {
+#if 1
+ abort();
+#else
   char Format[10];
 
   (void)DestSize;
@@ -310,6 +345,7 @@ static int FloatConvert(char *pDest, size_t DestSize, double Src, int Digits, Bo
   Format[4] = (HexStartCharacter == 'a') ? FormatType : toupper(FormatType);
   sprintf(pDest, Format, Digits, Src);
   return strlen(pDest);
+#endif
 }
 #endif
 
@@ -325,6 +361,9 @@ static int FloatConvert(char *pDest, size_t DestSize, double Src, int Digits, Bo
 
 static size_t append(dest_format_context_t *p_dest_ctx, const char *p_src, size_t cnt, tFormatContext *pFormatContext)
 {
+#if 1
+ abort();
+#else
   size_t pad_len, result = 0;
 
   pad_len = (pFormatContext->Arg[0] > (int)cnt) ? pFormatContext->Arg[0] - cnt : 0;
@@ -347,6 +386,7 @@ static size_t append(dest_format_context_t *p_dest_ctx, const char *p_src, size_
     ResetFormatContext(pFormatContext);
 
   return result + cnt;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -360,6 +400,9 @@ static size_t append(dest_format_context_t *p_dest_ctx, const char *p_src, size_
 
 static int vsprcatf_core(dest_format_context_t *p_dest_ctx, const char *pFormat, va_list ap)
 {
+#if 1
+ abort();
+#else
   const char *pFormatStart = pFormat;
   int Result = 0;
   size_t OrigLen = strlen(p_dest_ctx->p_dest);
@@ -537,6 +580,7 @@ static int vsprcatf_core(dest_format_context_t *p_dest_ctx, const char *pFormat,
   if (p_dest_ctx->dest_remlen > 0)
     *(p_dest_ctx->p_dest++) = '\0';
   return Result;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -550,12 +594,16 @@ static int vsprcatf_core(dest_format_context_t *p_dest_ctx, const char *pFormat,
 
 int as_vsdprcatf(as_dynstr_t *p_dest, const char *pFormat, va_list ap)
 {
+#if 1
+ abort();
+#else
   dest_format_context_t ctx;
 
   ctx.p_dest = p_dest->p_str;
   ctx.dest_remlen = p_dest->capacity;
   ctx.p_dynstr = p_dest;
   return vsprcatf_core(&ctx, pFormat, ap);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -569,9 +617,13 @@ int as_vsdprcatf(as_dynstr_t *p_dest, const char *pFormat, va_list ap)
 
 int as_vsdprintf(as_dynstr_t *p_dest, const char *pFormat, va_list ap)
 {
+#if 1
+ abort();
+#else
   if (p_dest->capacity > 0)
     p_dest->p_str[0] = '\0';
   return as_vsdprcatf(p_dest, pFormat, ap);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -585,6 +637,9 @@ int as_vsdprintf(as_dynstr_t *p_dest, const char *pFormat, va_list ap)
 
 int as_sdprcatf(as_dynstr_t *p_dest, const char *pFormat, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   int ret;
 
@@ -592,6 +647,7 @@ int as_sdprcatf(as_dynstr_t *p_dest, const char *pFormat, ...)
   ret = as_vsdprcatf(p_dest, pFormat, ap);
   va_end(ap);
   return ret;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -605,6 +661,9 @@ int as_sdprcatf(as_dynstr_t *p_dest, const char *pFormat, ...)
 
 int as_sdprintf(as_dynstr_t *p_dest, const char *pFormat, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   int ret;
 
@@ -612,6 +671,7 @@ int as_sdprintf(as_dynstr_t *p_dest, const char *pFormat, ...)
   ret = as_vsdprintf(p_dest, pFormat, ap);
   va_end(ap);
   return ret;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -626,6 +686,9 @@ int as_sdprintf(as_dynstr_t *p_dest, const char *pFormat, ...)
 
 int as_vsnprcatf(char *pDest, size_t DestSize, const char *pFormat, va_list ap)
 {
+#if 1
+ abort();
+#else
   dest_format_context_t ctx;
 
   if (DestSize == sizeof(char*))
@@ -638,6 +701,7 @@ int as_vsnprcatf(char *pDest, size_t DestSize, const char *pFormat, va_list ap)
   ctx.dest_remlen = DestSize;
   ctx.p_dynstr = NULL;
   return vsprcatf_core(&ctx, pFormat, ap);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -652,9 +716,13 @@ int as_vsnprcatf(char *pDest, size_t DestSize, const char *pFormat, va_list ap)
 
 int as_vsnprintf(char *pDest, size_t DestSize, const char *pFormat, va_list ap)
 {
+#if 1
+ abort();
+#else
   if (DestSize > 0)
     *pDest = '\0';
   return as_vsnprcatf(pDest, DestSize, pFormat, ap);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -669,6 +737,9 @@ int as_vsnprintf(char *pDest, size_t DestSize, const char *pFormat, va_list ap)
 
 int as_snprintf(char *pDest, size_t DestSize, const char *pFormat, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   int Result;
 
@@ -678,6 +749,7 @@ int as_snprintf(char *pDest, size_t DestSize, const char *pFormat, ...)
   Result = as_vsnprcatf(pDest, DestSize, pFormat, ap);
   va_end(ap);
   return Result;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -692,6 +764,9 @@ int as_snprintf(char *pDest, size_t DestSize, const char *pFormat, ...)
 
 int as_snprcatf(char *pDest, size_t DestSize, const char *pFormat, ...)
 {
+#if 1
+ abort();
+#else
   va_list ap;
   int Result;
 
@@ -699,10 +774,14 @@ int as_snprcatf(char *pDest, size_t DestSize, const char *pFormat, ...)
   Result = as_vsnprcatf(pDest, DestSize, pFormat, ap);
   va_end(ap);
   return Result;
+#endif
 }
 
 int as_strcasecmp(const char *src1, const char *src2)
 {
+#if 1
+ abort();
+#else
   if (!src1)
     src1 = "";
   if (!src2)
@@ -715,10 +794,14 @@ int as_strcasecmp(const char *src1, const char *src2)
     src2++;
   }
   return ((int) tolower(*src1)) - ((int) tolower(*src2));
-}      
+#endif
+}
 
 int as_strncasecmp(const char *src1, const char *src2, size_t len)
 {
+#if 1
+ abort();
+#else
   if (!src1)
     src1 = "";
   if (!src2)
@@ -733,11 +816,15 @@ int as_strncasecmp(const char *src1, const char *src2, size_t len)
     src2++;
   }
   return ((int) tolower(*src1)) - ((int) tolower(*src2));
-}      
+#endif
+}
 
 #ifdef NEEDS_STRSTR
 char *strstr(const char *haystack, const char *needle)
 {
+#if 1
+ abort();
+#else
   int lh = strlen(haystack), ln = strlen(needle);
   int z;
   char *p;
@@ -746,6 +833,7 @@ char *strstr(const char *haystack, const char *needle)
     if (strncmp(p = haystack + z, needle, ln) == 0)
       return p;
   return NULL;
+#endif
 }
 #endif
 
@@ -759,12 +847,16 @@ char *strstr(const char *haystack, const char *needle)
 
 char *strrmultchr(const char *haystack, const char *needles)
 {
+#if 1
+ abort();
+#else
   const char *pPos;
 
   for (pPos = haystack + strlen(haystack) - 1; pPos >= haystack; pPos--)
     if (strchr(needles, *pPos))
       return (char*)pPos;
   return NULL;
+#endif
 }
 
 /*---------------------------------------------------------------------------*/
@@ -772,6 +864,9 @@ char *strrmultchr(const char *haystack, const char *needles)
 
 size_t strmaxcpy(char *dest, const char *src, size_t Max)
 {
+#if 1
+ abort();
+#else
   size_t cnt = strlen(src);
 
   /* leave room for terminating NUL */
@@ -783,6 +878,7 @@ size_t strmaxcpy(char *dest, const char *src, size_t Max)
   memcpy(dest, src, cnt);
   dest[cnt] = '\0';
   return cnt;
+#endif
 }
 
 /*---------------------------------------------------------------------------*/
@@ -790,6 +886,9 @@ size_t strmaxcpy(char *dest, const char *src, size_t Max)
 
 size_t strmaxcat(char *Dest, const char *Src, size_t MaxLen)
 {
+#if 1
+ abort();
+#else
   int TLen = strlen(Src);
   size_t DLen = strlen(Dest);
 
@@ -803,12 +902,17 @@ size_t strmaxcat(char *Dest, const char *Src, size_t MaxLen)
   }
   else
     return DLen;
+#endif
 }
 
 void strprep(char *Dest, const char *Src)
 {
+#if 1
+ abort();
+#else
   memmove(Dest + strlen(Src), Dest, strlen(Dest) + 1);
   memmove(Dest, Src, strlen(Src));
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -821,6 +925,9 @@ void strprep(char *Dest, const char *Src)
 
 void strmaxprep(char *p_dest, const char *p_src, size_t max_len)
 {
+#if 1
+ abort();
+#else
   size_t src_len = strlen(p_src),
          dest_len = strlen(p_dest);
 
@@ -829,6 +936,7 @@ void strmaxprep(char *p_dest, const char *p_src, size_t max_len)
     src_len = max_len - dest_len - 1;
   memmove(p_dest + src_len, p_dest, dest_len + 1);
   memmove(p_dest, p_src, src_len);
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -841,6 +949,9 @@ void strmaxprep(char *p_dest, const char *p_src, size_t max_len)
 
 void strmaxprep2(char *p_dest, const char *p_src, size_t max_len)
 {
+#if 1
+ abort();
+#else
   size_t src_len = strlen(p_src),
          dest_len = strlen(p_dest);
 
@@ -852,16 +963,24 @@ void strmaxprep2(char *p_dest, const char *p_src, size_t max_len)
     dest_len = max_len - 1;
   memmove(p_dest + src_len, p_dest, dest_len + 1);
   memmove(p_dest, p_src, src_len);
+#endif
 }
 
 void strins(char *Dest, const char *Src, int Pos)
 {
+#if 1
+ abort();
+#else
   memmove(Dest + Pos + strlen(Src), Dest + Pos, strlen(Dest) + 1 - Pos);
   memmove(Dest + Pos, Src, strlen(Src));
+#endif
 }
 
 void strmaxins(char *Dest, const char *Src, int Pos, size_t MaxLen)
 {
+#if 1
+ abort();
+#else
   size_t RLen;
 
   RLen = strlen(Src);
@@ -869,11 +988,15 @@ void strmaxins(char *Dest, const char *Src, int Pos, size_t MaxLen)
     RLen = MaxLen - strlen(Dest);
   memmove(Dest + Pos + RLen, Dest + Pos, strlen(Dest) + 1 - Pos);
   memmove(Dest + Pos, Src, RLen);
+#endif
 }
 
 int strlencmp(const char *pStr1, unsigned Str1Len,
               const char *pStr2, unsigned Str2Len)
 {
+#if 1
+ abort();
+#else
   const char *p1, *p2, *p1End, *p2End;
   int Diff;
 
@@ -886,10 +1009,14 @@ int strlencmp(const char *pStr1, unsigned Str1Len,
       return Diff;
   }
   return ((int)Str1Len) - ((int)Str2Len);
+#endif
 }
 
 unsigned fstrlenprint(FILE *pFile, const char *pStr, unsigned StrLen)
 {
+#if 1
+ abort();
+#else
   unsigned Result = 0;
   const char *pRun, *pEnd;
 
@@ -906,16 +1033,21 @@ unsigned fstrlenprint(FILE *pFile, const char *pStr, unsigned StrLen)
     }
 
   return Result;
+#endif
 }
 
 size_t as_strnlen(const char *pStr, size_t MaxLen)
 {
+#if 1
+ abort();
+#else
   size_t Res = 0;
 
   for (; (MaxLen > 0); MaxLen--, pStr++, Res++)
     if (!*pStr)
       break;
   return Res;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -932,6 +1064,9 @@ size_t as_strnlen(const char *pStr, size_t MaxLen)
 
 int strreplace(char *pHaystack, const char *pFrom, const char *pTo, size_t ToMaxLen, size_t HaystackSize)
 {
+#if 1
+ abort();
+#else
   int HaystackLen = -1, FromLen = -1, ToLen = -1, Count = 0;
   int HeadLen, TailLen;
   char *pSearch, *pPos;
@@ -990,6 +1125,7 @@ int strreplace(char *pHaystack, const char *pFrom, const char *pTo, size_t ToMax
 
     Count++;
   }
+#endif
 }
 
 /*---------------------------------------------------------------------------*/
@@ -997,6 +1133,9 @@ int strreplace(char *pHaystack, const char *pFrom, const char *pTo, size_t ToMax
 
 void ReadLn(FILE *Datei, char *Zeile)
 {
+#if 1
+ abort();
+#else
   char *ptr;
   int l;
 
@@ -1011,12 +1150,16 @@ void ReadLn(FILE *Datei, char *Zeile)
     Zeile[--l] = '\0';
   if ((l > 0) && (Zeile[l - 1] == 26))
     Zeile[--l] = '\0';
+#endif
 }
 
 #if 0
 
 static void dump(const char *pLine, unsigned Cnt)
 {
+#if 1
+ abort();
+#else
   unsigned z;
 
   fputc('\n', stderr);
@@ -1027,6 +1170,7 @@ static void dump(const char *pLine, unsigned Cnt)
       fputc('\n', stderr);
   }
   fputc('\n', stderr);
+#endif
 }
 
 #endif
@@ -1041,6 +1185,9 @@ static void dump(const char *pLine, unsigned Cnt)
 
 size_t ReadLnCont(FILE *Datei, as_dynstr_t *p_line)
 {
+#if 1
+ abort();
+#else
   char *ptr, *pDest;
   size_t l, Count, LineCount;
   Boolean Terminated;
@@ -1104,6 +1251,7 @@ size_t ReadLnCont(FILE *Datei, as_dynstr_t *p_line)
   }
 
   return LineCount;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1116,6 +1264,9 @@ size_t ReadLnCont(FILE *Datei, as_dynstr_t *p_line)
 
 int DigitVal(char ch, int Base)
 {
+#if 1
+ abort();
+#else
   int Result;
 
   /* Ziffern 0..9 ergeben selbiges */
@@ -1139,6 +1290,7 @@ int DigitVal(char ch, int Base)
     Result = -1;
 
   return (Result >= Base) ? -1 : Result;
+#endif
 }
 
 /*--------------------------------------------------------------------*/
@@ -1149,6 +1301,9 @@ int DigitVal(char ch, int Base)
 
 LargeInt ConstLongInt(const char *inp, Boolean *pErr, LongInt Base)
 {
+#if 1
+ abort();
+#else
   static const char Prefixes[4] = { '$', '@', '%', '\0' }; /* die moeglichen Zahlensysteme */
   static const char Postfixes[4] = { 'H', 'O', '\0', '\0' };
   static const LongInt Bases[3] = { 16, 8, 2 };            /* die dazugehoerigen Basen */
@@ -1230,6 +1385,7 @@ LargeInt ConstLongInt(const char *inp, Boolean *pErr, LongInt Base)
   }
 
   return erg;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1237,6 +1393,9 @@ LargeInt ConstLongInt(const char *inp, Boolean *pErr, LongInt Base)
 
 void KillBlanks(char *s)
 {
+#if 1
+ abort();
+#else
   char *z, *dest;
   Boolean InSgl = False, InDbl = False, ThisEscaped = False, NextEscaped = False;
 
@@ -1263,10 +1422,14 @@ void KillBlanks(char *s)
       *dest++ = *z;
   }
   *dest = '\0';
+#endif
 }
 
 int CopyNoBlanks(char *pDest, const char *pSrc, size_t MaxLen)
 {
+#if 1
+ abort();
+#else
   const char *pSrcRun;
   char *pDestRun = pDest;
   size_t Cnt = 0;
@@ -1307,6 +1470,7 @@ int CopyNoBlanks(char *pDest, const char *pSrc, size_t MaxLen)
   *pDestRun = '\0';
 
   return Cnt;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1314,6 +1478,9 @@ int CopyNoBlanks(char *pDest, const char *pSrc, size_t MaxLen)
 
 int KillPrefBlanks(char *s)
 {
+#if 1
+ abort();
+#else
   char *z = s;
 
   while ((*z != '\0') && as_isspace(*z))
@@ -1321,6 +1488,7 @@ int KillPrefBlanks(char *s)
   if (z != s)
     strmov(s, z);
   return z - s;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1328,6 +1496,9 @@ int KillPrefBlanks(char *s)
 
 int KillPostBlanks(char *s)
 {
+#if 1
+ abort();
+#else
   char *z = s + strlen(s) - 1;
   int count = 0;
 
@@ -1337,15 +1508,20 @@ int KillPostBlanks(char *s)
     count++;
   }
   return count;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 int strqcmp(const char *s1, const char *s2)
 {
+#if 1
+ abort();
+#else
   int erg = (*s1) - (*s2);
 
   return (erg != 0) ? erg : strcmp(s1, s2);
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1355,8 +1531,12 @@ int strqcmp(const char *s1, const char *s2)
 
 char *strmov(char *pDest, const char *pSrc)
 {
+#if 1
+ abort();
+#else
   memmove(pDest, pSrc, strlen(pSrc) + 1);
   return pDest;
+#endif
 }
 
 #ifdef __GNUC__
@@ -1366,6 +1546,9 @@ char *strmov(char *pDest, const char *pSrc)
 #endif
 char *strcpy(char *pDest, const char *pSrc)
 {
+#if 1
+ abort();
+#else
   int l = strlen(pSrc) + 1;
   int Overlap = 0;
 
@@ -1392,6 +1575,7 @@ char *strcpy(char *pDest, const char *pSrc)
   }
 
   return strmov(pDest, pSrc);
+#endif
 }
 
 #endif
@@ -1408,17 +1592,24 @@ char *strcpy(char *pDest, const char *pSrc)
 
 int strmemcpy(char *pDest, size_t DestSize, const char *pSrc, size_t SrcLen)
 {
+#if 1
+ abort();
+#else
   if (DestSize < SrcLen + 1)
     SrcLen = DestSize - 1;
   memmove(pDest, pSrc, SrcLen);
   pDest[SrcLen] = '\0';
   return SrcLen;
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 char *ParenthPos(char *pHaystack, char Needle)
 {
+#if 1
+ abort();
+#else
   char *pRun;
   int Level = 0;
 
@@ -1440,6 +1631,7 @@ char *ParenthPos(char *pHaystack, char Needle)
     }
   }
   return NULL;
+#endif
 }
 
 /*!------------------------------------------------------------------------
@@ -1451,12 +1643,20 @@ char *ParenthPos(char *pHaystack, char Needle)
 
 char TabCompressed(char in)
 {
+#if 1
+ abort();
+#else
   return (in == '\t') ? ' ' : (as_isprint(in) ? in : '*');
+#endif
 }
 
 /*--------------------------------------------------------------------------*/
 
 void strutil_init(void)
 {
+#if 1
+ abort();
+#else
   HexStartCharacter = 'A';
+#endif
 }