diff options
Diffstat (limited to 'lexers/LexCOBOL.cxx')
-rw-r--r-- | lexers/LexCOBOL.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexers/LexCOBOL.cxx b/lexers/LexCOBOL.cxx index d689762ec..a937690d8 100644 --- a/lexers/LexCOBOL.cxx +++ b/lexers/LexCOBOL.cxx @@ -90,6 +90,8 @@ static int classifyWordCOBOL(unsigned int start, unsigned int end, /*WordList &k WordList& c_keywords = *keywordlists[2]; char s[100]; + s[0] = '\0'; + s[1] = '\0'; getRange(start, end, styler, s, sizeof(s)); char chAttr = SCE_C_IDENTIFIER; |