Move the Debug flag into a new module "debugflag" in the common directory.
Remove the const qualifier from the argument of xfree(). git-svn-id: svn://svn.cc65.org/cc65/trunk@1877 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -95,7 +95,7 @@ struct InputFile_ {
|
||||
/* Struct to handle textual input data */
|
||||
typedef struct InputData_ InputData;
|
||||
struct InputData_ {
|
||||
const char* Data; /* Pointer to the data */
|
||||
char* Data; /* Pointer to the data */
|
||||
const char* Pos; /* Pointer to current position */
|
||||
int Malloced; /* Memory was malloced */
|
||||
enum Token Tok; /* Last token */
|
||||
@@ -370,7 +370,7 @@ void DoneInputFile (void)
|
||||
|
||||
|
||||
|
||||
void NewInputData (const char* Data, int Malloced)
|
||||
void NewInputData (char* Data, int Malloced)
|
||||
/* Add a chunk of input data to the input stream */
|
||||
{
|
||||
InputData* I;
|
||||
|
||||
Reference in New Issue
Block a user