summaryrefslogtreecommitdiffstats
path: root/src/vhdlcode.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r--src/vhdlcode.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l
index fa199d1..5f328af 100644
--- a/src/vhdlcode.l
+++ b/src/vhdlcode.l
@@ -620,7 +620,7 @@ static void appStringLower(QCString& qcs,const char* text)
static QCString g_temp;
/* writes and links a port map statement */
-static void codifyMapLines(char *text)
+static void codifyMapLines(const char *text)
{
if (text==0) return;
g_temp.resize(0);
@@ -628,7 +628,7 @@ static void codifyMapLines(char *text)
int wordCounter=0;
QCString ctemp;
//printf("codifyLines(%d,\"%s\")\n",g_yyLineNr,text);
- char *p=text; //,*sp=p;
+ const char *p=text; //,*sp=p;
char c;
bool done=FALSE;
while (!done)