1988-09-12 13:59:43 +00:00
|
|
|
#define CODE_EXPANDER
|
|
|
|
#include <em.h>
|
|
|
|
#include "back.h"
|
|
|
|
|
1993-11-10 15:07:12 +00:00
|
|
|
void
|
1988-09-12 13:59:43 +00:00
|
|
|
C_insertpart( d)
|
|
|
|
int d;
|
|
|
|
|
|
|
|
{
|
1988-10-31 16:03:44 +00:00
|
|
|
char *s;
|
1988-09-12 13:59:43 +00:00
|
|
|
swtxt();
|
|
|
|
|
1989-01-26 14:04:11 +00:00
|
|
|
C_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
|
|
|
}
|
|
|
|
|
|
|
|
|
1993-11-10 15:07:12 +00:00
|
|
|
void
|
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();
|
|
|
|
|
1989-03-22 16:41:38 +00:00
|
|
|
C_jump(extnd_main( d));
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|
1993-11-10 15:07:12 +00:00
|
|
|
void
|
1988-09-12 13:59:43 +00:00
|
|
|
C_endpart( d)
|
|
|
|
int d;
|
|
|
|
|
|
|
|
{
|
1989-03-22 16:41:38 +00:00
|
|
|
char *s;
|
1988-09-12 13:59:43 +00:00
|
|
|
swtxt();
|
|
|
|
|
1989-01-26 14:04:11 +00:00
|
|
|
C_jump(extnd_cont( d));
|
1989-03-22 16:41:38 +00:00
|
|
|
symbol_definition(s = extnd_main( d));
|
|
|
|
set_local_visible(s);
|
1988-09-12 13:59:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
1993-11-10 15:07:12 +00:00
|
|
|
int
|
1988-09-12 13:59:43 +00:00
|
|
|
C_getid()
|
|
|
|
{
|
|
|
|
static int id = 0;
|
|
|
|
|
|
|
|
return ++id;
|
|
|
|
}
|