usr.bin/sed/compile.c
/*
 * Compile the program into prog.
 * Initialise appends.
 */
Compile the program into prog.
Initialise appends.
Compile the program into prog . Initialise appends .
void
compile()
{
	*compile_stream(NULL, &prog, NULL) = NULL;
	fixuplabel(prog, NULL);
	uselabel();
	appends = xmalloc(sizeof(struct s_appends) * appendnum);
	match = xmalloc((maxnsub + 1) * sizeof(regmatch_t));
}
void compile ( ) { * compile_stream ( NULL , & prog , NULL ) = NULL ; fixuplabel ( prog , NULL ) ; uselabel ( ) ; appends = xmalloc ( sizeof ( struct s_appends ) * appendnum ) ; match = xmalloc ( ( maxnsub + 1 ) * sizeof ( regmatch_t ) ) ; }
Compile the program into prog.
Compile the program into prog .