You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

void a()
{
if((tmp == nullptr) ||
((tmp->type != CT_NUMBER) &&
(tmp->type != CT_SIZEOF) &&
!(tmp->flags & (PCF_IN_STRUCT | PCF_IN_CLASS))) ||
(tmp->type == CT_NEWLINE))
{
set_chunk_type(next, CT_LABEL_COLON);
}
else if ((tmp == nullptr) ||
((tmp->type != CT_NUMBER) &&
(tmp->type != CT_SIZEOF) &&
!(tmp->flags & (PCF_IN_STRUCT | PCF_IN_CLASS))) ||
(tmp->type == CT_NEWLINE))
{
set_chunk_type(next, CT_LABEL_COLON);
}
if ((tmp == nullptr) ||
((tmp->type != CT_NUMBER) &&
(tmp->type != CT_SIZEOF) &&
!(tmp->flags & (PCF_IN_STRUCT | PCF_IN_CLASS))) ||
(tmp->type == CT_NEWLINE))
{
set_chunk_type(next, CT_LABEL_COLON);
}
if ((tmp == nullptr) ||
((tmp->type != CT_NUMBER) &&
(tmp->type != CT_SIZEOF) &&
!(tmp->flags & (PCF_IN_STRUCT | PCF_IN_CLASS))) ||
(tmp->type == CT_NEWLINE))
{
set_chunk_type(next, CT_LABEL_COLON);
}
}