X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fca65%2Ffragment.h;h=c9ea5742b9df5221a95f5c0617564e78a416a912;hb=1d458e9f33d442052a2921f0678efb4875d2e8ab;hp=e2ef06517ba4b008dbb67200a626ef7a7e31d4b2;hpb=53dd513176425872128ef26031d00952ef7a0628;p=cc65 diff --git a/src/ca65/fragment.h b/src/ca65/fragment.h index e2ef06517..c9ea5742b 100644 --- a/src/ca65/fragment.h +++ b/src/ca65/fragment.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998-2000 Ullrich von Bassewitz */ +/* (C) 1998-2001 Ullrich von Bassewitz */ /* Wacholderweg 14 */ /* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -38,23 +38,35 @@ -#include "../common/exprdefs.h" -#include "../common/filepos.h" +/* common */ +#include "exprdefs.h" +#include "filepos.h" /*****************************************************************************/ -/* struct Fragment */ +/* Forwards */ /*****************************************************************************/ -typedef struct Fragment_ Fragment; -struct Fragment_ { +struct LineInfo; + + + +/*****************************************************************************/ +/* struct Fragment */ +/*****************************************************************************/ + + + +typedef struct Fragment Fragment; +struct Fragment { Fragment* List; /* List of all fragments */ Fragment* Next; /* Fragment list in one segment */ Fragment* LineList; /* List of fragments for one src line */ FilePos Pos; /* File position for this fragment */ + struct LineInfo* LI; /* Extra line info */ unsigned short Len; /* Length for this fragment */ unsigned char Type; /* Fragment type */ union { @@ -76,3 +88,4 @@ extern Fragment* FragLast; +