ack/util/ceg/defaults/pseudo/C_insertpart.c

46 lines
422 B
C
Raw Normal View History

1988-09-12 13:59:43 +00:00
#define CODE_EXPANDER
#include <em.h>
#include "back.h"
C_insertpart( d)
int d;
{
1988-10-31 16:03:44 +00:00
char *s;
1988-09-12 13:59:43 +00:00
swtxt();
jump(extnd_part( d));
1988-10-31 16:03:44 +00:00
symbol_definition( s = extnd_cont( d));
set_local_visible( s);
1988-09-12 13:59:43 +00:00
}
C_beginpart( d)
int d;
{
1988-10-31 16:03:44 +00:00
char *s;
1988-09-12 13:59:43 +00:00
swtxt();
1988-10-31 16:03:44 +00:00
symbol_definition(s = extnd_part( d));
1988-11-02 16:33:56 +00:00
set_local_visible(s);
1988-09-12 13:59:43 +00:00
}
C_endpart( d)
int d;
{
swtxt();
jump(extnd_cont( d));
}
C_getid()
{
static int id = 0;
return ++id;
}