diff options
| author | nyamatongwe <devnull@localhost> | 2010-05-13 01:30:06 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-05-13 01:30:06 +0000 |
| commit | b58ecc5340c78b08cbc15d62715001937f321c20 (patch) | |
| tree | 8eb24653968c21beb97ca0350c3c5fe854bb816e /src/LexCOBOL.cxx | |
| parent | c80245c635898cbe4715cca13a43743046d01b6d (diff) | |
| download | scintilla-mirror-b58ecc5340c78b08cbc15d62715001937f321c20.tar.gz | |
Fix debug assertions for bug #3000566.
Diffstat (limited to 'src/LexCOBOL.cxx')
| -rw-r--r-- | src/LexCOBOL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCOBOL.cxx b/src/LexCOBOL.cxx index d061d5c67..cd42e3e89 100644 --- a/src/LexCOBOL.cxx +++ b/src/LexCOBOL.cxx @@ -202,7 +202,7 @@ static void ColouriseCOBOLDoc(unsigned int startPos, int length, int initStyle, } if (state == SCE_C_DEFAULT) { - if (isCOBOLwordstart(ch) || (ch == '$' && isalpha(chNext))) { + if (isCOBOLwordstart(ch) || (ch == '$' && isascii(chNext) && isalpha(chNext))) { ColourTo(styler, i-1, state); state = SCE_C_IDENTIFIER; } else if (column == 0 && ch == '*' && chNext != '*') { |
