У меня есть следующие typedefs. Тип паба хранит два ints, а pub_table хранит массив издателей и int.Ошибка симуляции Promela: Ошибка: неполная структура ref 'table' t saw 'operator: ='
typedef pub{
int nodeid;
int tid
};
typedef pub_table{
pub table[TABLE_SIZE];
int last
};
Тогда на линии pt.table[pt.last] = p;
я получаю сообщение об ошибке говорящее
" Error: incomplete structure ref 'table' saw 'operator: ='"
if
:: node_type == publisher ->
pub p;
p.nodeid = node_id;
p.tid = topic_id;
pt.last = pt.last + 1;
pt.table[pt.last] = p;
fi
К сожалению, я не могу видеть то, что случилось на этой линии?