Fixed a bug that caused tabs to be skipped by skip_spaces()

This commit is contained in:
Vatiken 2012-04-08 05:53:59 +00:00
parent 2934a62ed7
commit fa8a1e23b7

View file

@ -811,7 +811,7 @@ int is_number(const char *str)
/* Function to skip over the leading spaces of a string. */
void skip_spaces(char **string)
{
for (; **string && isspace(**string); (*string)++);
for (; **string && **string != '\t' && isspace(**string); (*string)++);
}
/* Given a string, change all instances of double dollar signs ($$) to single