The line counter got confused for lines with more than 256 chars. Removed the

restriction alltogether, so lines with arbitrary length should be handled
correctly. Not that it is of much use for an assembler, but this has really
been a somewhat ancient limitation.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5072 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-07-07 20:07:29 +00:00
parent 9d7edad0cc
commit d18fd210aa
3 changed files with 84 additions and 45 deletions

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 2000-2003 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 2000-2011, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -44,7 +44,17 @@
/*****************************************************************************/
/* Data */
/* Forwards */
/*****************************************************************************/
struct StrBuf;
/*****************************************************************************/
/* Data */
/*****************************************************************************/
@@ -89,7 +99,8 @@ extern int PageLength; /* Length of a listing page */
void NewListingLine (const char* Line, unsigned char File, unsigned char Depth);
void NewListingLine (const struct StrBuf* Line, unsigned char File,
unsigned char Depth);
/* Create a new ListLine struct */
void EnableListing (void);