diff options
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r-- | src/vhdlcode.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l index 28e2d85..8b442ef 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -340,7 +340,7 @@ static void codifyLines(const char *text,const char *cl=0,bool classlink=FALSE) while (!done) { sp=p; - while ((c=*p++) && c!='\n'); + while ((c=*p++) && c!='\n') {} if (c=='\n') { g_yyLineNr++; @@ -379,7 +379,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++; |