src/generate_param_byte.c
/*
**	This will check the first character of a parameter to determine it's type.
*/
This will check the first character of a parameter to determine it's type.
This will check the first character of a parameter to determine it ' s type .
static char	parse_param(char *word)
{
	if (word[0] == 'r')
		return (0b01010100);
	else if (word[0] == DIRECT_CHAR)
		return (0b10101000);
	else
		return (0b11111100);
}
static char parse_param ( char * word ) { if ( word [ 0 ] == ' ' ) return ( 0b01010100 ) ; else if ( word [ 0 ] == DIRECT_CHAR ) return ( 0b10101000 ) ; else return ( 0b11111100 ) ; }
This will check the first character of a parameter to determine it's type.
This will check the first character of a parameter to determine it ' s type .