aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexFortran.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/LexFortran.cxx b/src/LexFortran.cxx
index 0cc7342e6..3ab1116ea 100644
--- a/src/LexFortran.cxx
+++ b/src/LexFortran.cxx
@@ -273,9 +273,11 @@ static void FoldFortranDoc(unsigned int startPos, int length, int initStyle,
int style = initStyle;
/***************************************/
int lastStart = 0;
- char prevWord[32] = "", Label[6] = "";
+ char prevWord[32] = "";
+ char Label[6] = "";
// Variables for do label folding.
- static int doLabels[100], posLabel=-1;
+ static int doLabels[100];
+ static int posLabel=-1;
/***************************************/
for (unsigned int i = startPos; i < endPos; i++) {
char ch = chNext;