static char mainModuleName[MAX_LOCATION];
static char projectName[MAX_LOCATION];
-static void LoadImports(char * fileName)
+static void LoadImports(const char * fileName)
{
File f = FileOpen(fileName, read);
if(f)
return false;
}
*/
-static void WriteMain(char * fileName)
+static void WriteMain(const char * fileName)
{
File f = FileOpen(fileName, write);
if(f)
*/
int c;
bool valid = true;
- char * output = null;
+ const char * output = null;
outputPot = false;
disabledPooling = false;
for(c = 1; c<argc; c++)
{
- char * arg = argv[c];
+ const char * arg = argv[c];
if(arg[0] == '-')
{
if(!strcmp(arg + 1, "m32") || !strcmp(arg + 1, "m64"))
//if(!strcmp(ext, "c"))
{
- String symbolsDir = GetSymbolsDir();
+ const String symbolsDir = GetSymbolsDir();
// Only generating .pot files when building from release.* directory for now
//bool outputPot = symbolsDir && SearchString(symbolsDir, 0, "release.", false, false);
Map<ContextStringPair, List<String> > intlStrings { };
for(c = 1; c<argc; c++)
{
- char * file = argv[c];
+ const char * file = argv[c];
File f = null;
char line[16384];
int count = 0;
else
{
count = 1;
- tokens[0] = file;
+ tokens[0] = (char *)file;
}
while(count || f)
{
// What is this supposed to do?
for(c = 1; c<argc; c++)
{
- char * file = argv[c];
+ const char * file = argv[c];
if(file[0] == '-')
{
if(!strcmp(file, "-c"))
for(c = 1; c<argc; c++)
{
- char * file = argv[c];
+ const char * file = argv[c];
File f = null;
char line[16384];
int count = 0;
else
{
count = 1;
- tokens[0] = file;
+ tokens[0] = (char *)file;
}
while(count || f)