Skip to content

Commit

Permalink
Rename SCE_COBOL_UUID to SCE_COBOL_WORD3 as it does not refer to UUID…
Browse files Browse the repository at this point in the history
…s, just the 3rd set of keywords

or known identifiers.
The value remains the same, 8.
Related to #284.
  • Loading branch information
nyamatongwe committed Oct 27, 2024
1 parent 50373fa commit 0882e42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/LexicalStyles.iface
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ val SCE_COBOL_NUMBER=4
val SCE_COBOL_WORD=5
val SCE_COBOL_STRING=6
val SCE_COBOL_CHARACTER=7
val SCE_COBOL_UUID=8
val SCE_COBOL_WORD3=8
val SCE_COBOL_PREPROCESSOR=9
val SCE_COBOL_OPERATOR=10
val SCE_COBOL_IDENTIFIER=11
Expand Down
2 changes: 1 addition & 1 deletion include/SciLexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
#define SCE_COBOL_WORD 5
#define SCE_COBOL_STRING 6
#define SCE_COBOL_CHARACTER 7
#define SCE_COBOL_UUID 8
#define SCE_COBOL_WORD3 8
#define SCE_COBOL_PREPROCESSOR 9
#define SCE_COBOL_OPERATOR 10
#define SCE_COBOL_IDENTIFIER 11
Expand Down
2 changes: 1 addition & 1 deletion lexers/LexCOBOL.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ int classifyWordCOBOL(Sci_PositionU start, Sci_PositionU end, /*WordList &keywor
chAttr = SCE_COBOL_WORD2;
}
else if (c_keywords.InList(s)) {
chAttr = SCE_COBOL_UUID;
chAttr = SCE_COBOL_WORD3;
}
}
if (*bAarea) {
Expand Down

0 comments on commit 0882e42

Please sign in to comment.