Use LineInfo instead of raw FilePos objects. Most information in the object
files does now have lists of LineInfos attached. Compiles but UNTESTED! git-svn-id: svn://svn.cc65.org/cc65/trunk@4921 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "filepos.h"
|
||||
|
||||
/* ld65 */
|
||||
#include "lineinfo.h"
|
||||
#include "segments.h"
|
||||
|
||||
|
||||
@@ -69,7 +70,7 @@ struct File {
|
||||
typedef struct SegDesc SegDesc;
|
||||
struct SegDesc {
|
||||
unsigned Name; /* Index of the name */
|
||||
FilePos Pos; /* Position of definition */
|
||||
LineInfo* LI; /* Position of definition */
|
||||
Segment* Seg; /* Pointer to segment structure */
|
||||
unsigned Attr; /* Attributes for segment */
|
||||
unsigned Flags; /* Set of bitmapped flags */
|
||||
@@ -115,7 +116,7 @@ unsigned CfgProcess (void);
|
||||
|
||||
void CfgWriteTarget (void);
|
||||
/* Write the target file(s) */
|
||||
|
||||
|
||||
|
||||
|
||||
/* End of config.h */
|
||||
|
||||
Reference in New Issue
Block a user