Je sais pas ce que vous en pensez, mais je trouve ça :
// Label and macro identifiers start at the beginning of a line
// We set both as a label, but if it weren't one (no ':' at the end),
// it will be changed as a macro identifier.
if (sc.atLineStart && IsLabelStart(sc.ch))
{
sc.SetState(SCE_A68K_LABEL);
}
// Comments
else if (sc.ch == ';')
{
sc.SetState(SCE_A68K_COMMENT);
}
// Decimal numbers haven't prefix
else if (isdigit(sc.ch))
{
sc.SetState(SCE_A68K_NUMBER_DEC);
}
// Binary numbers are prefixed with '%'
else if (sc.ch == '%')
{
sc.SetState(SCE_A68K_NUMBER_BIN);
}
beaucoup plus lourd que ça :
else if (sc.ch == '\"')
sc.SetState(SCE_A68K_STRING2);
else if ((sc.ch == '\') && (isdigit(sc.chNext)))
sc.SetState(SCE_A68K_MACRO_ARG);
else if (IsIdentifierStart(sc.ch))
sc.SetState(SCE_A68K_IDENTIFIER);
Ya un intermédiaire, non, genre passer une ligne avant de repartir sur un "else if" et mettre le commentaire en bout de ligne ?
Qu'en pensez-vous ?

Uther : Si t'as des critiques par rapport au post
./81, c'est le moment, merci d'avance (peut-être

)
cross ->

Pen^2