ScintillaOrg / lexilla

A library of language lexers for use with Scintilla
https://www.scintilla.org/Lexilla.html
Other
179 stars 64 forks source link

unreachable code #217

Closed maddin200 closed 9 months ago

maddin200 commented 10 months ago

lexers/LexTACL.cxx line 188 Code: if (isTACLwordstart(ch)) { ColourTo(styler, i-1, state, bInAsm); state = SCE_C_IDENTIFIER; } else if (ch == '{') { // <-- covers the next two else if ColourTo(styler, i-1, state, bInAsm); state = SCE_C_COMMENT; } else if (ch == '{' && chNext == '*') { ColourTo(styler, i-1, state, bInAsm); state = SCE_C_COMMENTDOC; } else if (ch == '=' && chNext == '=') { ColourTo(styler, i-1, state, bInAsm); state = SCE_C_COMMENTLINE; } else if (ch == '"') {

nyamatongwe commented 10 months ago

Do you use TACL?

Its not worth modifying lexers that are rarely used, have no tests and no maintainer.