On Thu, Dec 13, 2007 at 07:38:23AM +0000, Zou Lunkai wrote: > // Skip leading whitespace > - while ((input[0] == ' ') || (input[0] == 0x9)) > + while( input[0] == ' ' || input[0] == '\n' || input[0] == '\t' || > input[0] == '\r' )
C99 defines this: isspace() checks for white-space characters. In the "C" and "POSIX" locales, these are: space, form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v'). --strk; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit