Commit 58058025 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Fixed constness warning

parent e0af5095
/******************************************************************************
*
*
*
* Copyright (C) 1997-2013 by Dimitri van Heesch.
*
......@@ -214,8 +212,8 @@ void err(const char *fmt, ...)
void printlex(int dbg, bool enter, const char *lexName, const char *fileName)
{
char *enter_txt = "entering";
char *enter_txt_uc = "Entering";
const char *enter_txt = "entering";
const char *enter_txt_uc = "Entering";
if (!enter)
{
......@@ -237,5 +235,4 @@ void printlex(int dbg, bool enter, const char *lexName, const char *fileName)
else
Debug::print(Debug::Lex,0,"%s lexical analyzer: %s\n",enter_txt_uc, lexName);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment