Skip to content

Commit 0882e42

Browse files
committed
Rename SCE_COBOL_UUID to SCE_COBOL_WORD3 as it does not refer to UUIDs, just the 3rd set of keywords
or known identifiers. The value remains the same, 8. Related to #284.
1 parent 50373fa commit 0882e42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/LexicalStyles.iface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ val SCE_COBOL_NUMBER=4
223223
val SCE_COBOL_WORD=5
224224
val SCE_COBOL_STRING=6
225225
val SCE_COBOL_CHARACTER=7
226-
val SCE_COBOL_UUID=8
226+
val SCE_COBOL_WORD3=8
227227
val SCE_COBOL_PREPROCESSOR=9
228228
val SCE_COBOL_OPERATOR=10
229229
val SCE_COBOL_IDENTIFIER=11

include/SciLexer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
#define SCE_COBOL_WORD 5
212212
#define SCE_COBOL_STRING 6
213213
#define SCE_COBOL_CHARACTER 7
214-
#define SCE_COBOL_UUID 8
214+
#define SCE_COBOL_WORD3 8
215215
#define SCE_COBOL_PREPROCESSOR 9
216216
#define SCE_COBOL_OPERATOR 10
217217
#define SCE_COBOL_IDENTIFIER 11

lexers/LexCOBOL.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ int classifyWordCOBOL(Sci_PositionU start, Sci_PositionU end, /*WordList &keywor
116116
chAttr = SCE_COBOL_WORD2;
117117
}
118118
else if (c_keywords.InList(s)) {
119-
chAttr = SCE_COBOL_UUID;
119+
chAttr = SCE_COBOL_WORD3;
120120
}
121121
}
122122
if (*bAarea) {

0 commit comments

Comments
 (0)