ack/util/ceg/defaults/message/C_cst.c

28 lines
516 B
C
Raw Normal View History

#define CODE_EXPANDER
1987-11-20 10:41:03 +00:00
#include <em.h>
1991-11-01 11:53:42 +00:00
#include <stb.h>
#include <em_mes.h>
extern int __db_mes, __db_cst, __db_len, __db_type, __db_add;
extern char *__db_str;
1987-11-20 10:41:03 +00:00
1993-11-10 14:40:27 +00:00
void
1987-11-20 10:41:03 +00:00
C_cst( l)
arith l;
{
1991-11-01 11:53:42 +00:00
if (__db_mes) {
if (! __db_cst) __db_type = l;
else if (__db_cst == 1) {
if (__db_mes == ms_std) {
if (__db_type == N_SLINE) {
C_db_sline();
}
B_symd(__db_str, __db_len, __db_type, (int) l);
}
else __db_add = l;
}
else B_symbcst(__db_str, __db_len, __db_type, __db_add, l);
__db_cst++;
}
1987-11-20 10:41:03 +00:00
}