June 29, 2004 debug parse error | ||||
---|---|---|---|---|
| ||||
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; |
June 29, 2004 Re: debug parse error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Ignore this. I was being dumb and missed a peren. Teach me to copy & paste into a different file for my test case. Sean |
Copyright © 1999-2021 by the D Language Foundation