Line
Link Here
|
0 |
-- a/src/sdk/wxscintilla/src/scintilla/lexers/LexMMIXAL.cxx |
0 |
++ b/src/sdk/wxscintilla/src/scintilla/lexers/LexMMIXAL.cxx |
Lines 99-110
Link Here
|
99 |
} |
99 |
} |
100 |
} else if (sc.state == SCE_MMIXAL_REF) { // REF |
100 |
} else if (sc.state == SCE_MMIXAL_REF) { // REF |
101 |
if (!IsAWordChar(sc.ch) ) { |
101 |
if (!IsAWordChar(sc.ch) ) { |
102 |
char s[100]; |
102 |
char s0[100]; |
103 |
sc.GetCurrent(s, sizeof(s)); |
103 |
sc.GetCurrent(s0, sizeof(s0)); |
|
|
104 |
const char *s = s0; |
104 |
if (*s == ':') { // ignore base prefix for match |
105 |
if (*s == ':') { // ignore base prefix for match |
105 |
for (size_t i = 0; i != sizeof(s); ++i) { |
106 |
++s; |
106 |
*(s+i) = *(s+i+1); |
|
|
107 |
} |
108 |
} |
107 |
} |
109 |
if (special_register.InList(s)) { |
108 |
if (special_register.InList(s)) { |
110 |
sc.ChangeState(SCE_MMIXAL_REGISTER); |
109 |
sc.ChangeState(SCE_MMIXAL_REGISTER); |