digitalmars.D.bugs - debug parse error
- Sean Kelly <sean f4.ca> Jun 29 2004
- Sean Kelly <sean f4.ca> Jun 29 2004
AFAIK this should be legal, but it's producing a compile error:
bit isspace( char c )
{
debug
{
if( c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v' )
printf( "IS SPACE\n" );
else
printf "IS NOT SPACE\n" );
}
return c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c ==
'\v';
}
debug = 1;
Jun 29 2004
Ignore this. I was being dumb and missed a peren. Teach me to copy & paste into a different file for my test case. Sean
Jun 29 2004








Sean Kelly <sean f4.ca>