FictionTools/z88dk/src/z80asm/macros.c
// extract first line from input_stream to current_line
extract first line from input_stream to current_line
extract first line from input_stream to current_line
static bool shift_lines(argv_t *lines)
{
	str_clear(current_line);
	if (argv_len(lines) > 0) {
		char *line = *argv_front(lines);
		str_set(current_line, line);
		argv_shift(lines);
		return true;
	}
	else
		return false;
}
static bool shift_lines ( argv_t * lines ) { str_clear ( current_line ) ; if ( argv_len ( lines ) > 0 ) { char * line = * argv_front ( lines ) ; str_set ( current_line , line ) ; argv_shift ( lines ) ; return true ; } else return false ; }
extract first line from input_stream to current_line
extract first line from input_stream to current_line
// copy first from stream