Fixed a bug that caused tabs to be skipped by skip_spaces()
This commit is contained in:
@@ -811,7 +811,7 @@ int is_number(const char *str)
|
|||||||
/* Function to skip over the leading spaces of a string. */
|
/* Function to skip over the leading spaces of a string. */
|
||||||
void skip_spaces(char **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
|
/* Given a string, change all instances of double dollar signs ($$) to single
|
||||||
|
|||||||
Reference in New Issue
Block a user