aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexCOBOL.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexCOBOL.cxx b/src/LexCOBOL.cxx
index cd42e3e89..05bf1d973 100644
--- a/src/LexCOBOL.cxx
+++ b/src/LexCOBOL.cxx
@@ -90,11 +90,11 @@ static int classifyWordCOBOL(unsigned int start, unsigned int end, /*WordList &k
getRange(start, end, styler, s, sizeof(s));
char chAttr = SCE_C_IDENTIFIER;
- if (isdigit(s[0]) || (s[0] == '.')) {
+ if (isdigit(s[0]) || (s[0] == '.') || (s[0] == 'v')) {
chAttr = SCE_C_NUMBER;
char *p = s + 1;
while (*p) {
- if (!isdigit(*p) && isCOBOLwordchar(*p)) {
+ if ((!isdigit(*p) && (*p) != 'v') && isCOBOLwordchar(*p)) {
chAttr = SCE_C_IDENTIFIER;
break;
}