summaryrefslogtreecommitdiffstats
path: root/src/pycode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-08-14 14:49:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-08-14 14:49:07 (GMT)
commit8c6ca30831818a77a6947baad63ab99cb8cd8c31 (patch)
treefed426d0d7216311cbd009a1fcd2786176478b5e /src/pycode.l
parent142b4807d2ae7479691bd0800d28364b9857b82f (diff)
downloadDoxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.zip
Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.gz
Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.bz2
Release-1.5.9-20090814
Diffstat (limited to 'src/pycode.l')
-rw-r--r--src/pycode.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pycode.l b/src/pycode.l
index aa72b43..0acc23e 100644
--- a/src/pycode.l
+++ b/src/pycode.l
@@ -395,7 +395,7 @@ static void startCodeLine()
}
}
-static void codify(char* text)
+static void codify(const char* text)
{
g_code->codify(text);
}
@@ -421,7 +421,7 @@ static void writeMultiLineCodeLink(CodeOutputInterface &ol,
{
char *sp=p;
char c;
- while ((c=*p++) && c!='\n');
+ while ((c=*p++) && c!='\n') { }
if (c=='\n')
{
g_yyLineNr++;
@@ -453,7 +453,7 @@ static void codifyLines(char *text)
while (!done)
{
sp=p;
- while ((c=*p++) && c!='\n');
+ while ((c=*p++) && c!='\n') { }
if (c=='\n')
{
g_yyLineNr++;