FictionTools/z88dk/src/z80asm/macros.c
// collect white space up to end of line or comment
collect white space up to end of line or comment
collect white space up to end of line or comment
static bool collect_eol(char **p)
{
#define P (*p)
	while (isspace(*P)) P++; 
	if (*P == ';' || *P == '\0')
		return true;
	else
		return false;
#undef P
}
static bool collect_eol ( char * * p ) { #define P  (*p) while ( isspace ( * P ) ) P ++ ; if ( * P == ' ' || * P == ' \0 ' ) return true ; else return false ; #undef  P }
collect white space up to end of line or comment
collect white space up to end of line or comment
// consumes also \n and \r