Keep the config file position in a FilePos structure.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4847 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
|
||||
/* common */
|
||||
#include "coll.h"
|
||||
#include "filepos.h"
|
||||
|
||||
|
||||
|
||||
@@ -56,7 +57,8 @@ struct File;
|
||||
/* Memory area entry */
|
||||
typedef struct MemoryArea MemoryArea;
|
||||
struct MemoryArea {
|
||||
unsigned Name; /* Name index of the memory section */
|
||||
FilePos Pos; /* Where was the area was defined? */
|
||||
unsigned Name; /* Name index of the memory area */
|
||||
unsigned Attr; /* Which values are valid? */
|
||||
unsigned Flags; /* Set of bitmapped flags */
|
||||
struct ExprNode* StartExpr; /* Expression for start address */
|
||||
@@ -85,7 +87,7 @@ struct MemoryArea {
|
||||
|
||||
|
||||
|
||||
MemoryArea* NewMemoryArea (unsigned Name);
|
||||
MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name);
|
||||
/* Create a new memory area and insert it into the list */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user