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:
@@ -47,13 +47,14 @@
|
||||
|
||||
|
||||
|
||||
MemoryArea* NewMemoryArea (unsigned Name)
|
||||
MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name)
|
||||
/* Create a new memory area and insert it into the list */
|
||||
{
|
||||
/* Allocate memory */
|
||||
MemoryArea* M = xmalloc (sizeof (MemoryArea));
|
||||
|
||||
/* Initialize the fields ... */
|
||||
M->Pos = *Pos;
|
||||
M->Name = Name;
|
||||
M->Attr = 0;
|
||||
M->Flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user