src/processing.c
/*
**	This function will process the temp file line by line using process_line().
**	It only processes lines of type 1(instruction).
*/
This function will process the temp file line by line using process_line().
It only processes lines of type 1(instruction).
This function will process the temp file line by line using process_line () . It only processes lines of type 1 ( instruction ) .
void		process(void)
{
	char		*line;
	lseek_temp(0);
	while (get_temp_line(&line))
	{
		g_o_cursor_out = g_cursor_out;
		if (identify_line(line) == 1)
			process_line(line);
		ft_strdel(&line);
	}
	ft_strdel(&line);
}
void process ( void ) { char * line ; lseek_temp ( 0 ) ; while ( get_temp_line ( & line ) ) { g_o_cursor_out = g_cursor_out ; if ( identify_line ( line ) == 1 ) process_line ( line ) ; ft_strdel ( & line ) ; } ft_strdel ( & line ) ; }
This function will process the temp file line by line using process_line().
This function will process the temp file line by line using process_line () .