Started to generalize line info handling. Remove separate FilePos fields and
try to manage all and everything with LineInfos. git-svn-id: svn://svn.cc65.org/cc65/trunk@4914 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -38,8 +38,6 @@
|
||||
|
||||
/* ca65 */
|
||||
#include "fragment.h"
|
||||
#include "lineinfo.h"
|
||||
#include "scanner.h"
|
||||
|
||||
|
||||
|
||||
@@ -60,8 +58,8 @@ Fragment* NewFragment (unsigned char Type, unsigned short Len)
|
||||
/* Initialize it */
|
||||
F->Next = 0;
|
||||
F->LineList = 0;
|
||||
F->Pos = CurTok.Pos;
|
||||
F->LI = UseLineInfo (CurLineInfo);
|
||||
F->LI = EmptyCollection;
|
||||
GetFullLineInfo (&F->LI);
|
||||
F->Len = Len;
|
||||
F->Type = Type;
|
||||
|
||||
@@ -71,4 +69,3 @@ Fragment* NewFragment (unsigned char Type, unsigned short Len)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user