]> git.sur5r.net Git - cc65/blobdiff - src/ca65/fragment.h
Small fixes for Watcom-C
[cc65] / src / ca65 / fragment.h
index e2ef06517ba4b008dbb67200a626ef7a7e31d4b2..c9ea5742b9df5221a95f5c0617564e78a416a912 100644 (file)
@@ -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       */
 
 
 
-#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;
 
 
 
+