From fa8a1e23b7794d19fd14d28e83ee12789ab7e989 Mon Sep 17 00:00:00 2001 From: Vatiken Date: Sun, 8 Apr 2012 05:53:59 +0000 Subject: [PATCH] Fixed a bug that caused tabs to be skipped by skip_spaces() --- src/interpreter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter.c b/src/interpreter.c index b64b533..8fdd79c 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -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