From 12c6cc38c23bc840c73e97b070cd094025fcb686 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 6 Jun 2004 19:03:01 +0000 Subject: [PATCH] Update from gnulib. --- lib/getdate.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/getdate.y b/lib/getdate.y index 52ed8530ba..5784b6ccdc 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -844,7 +844,8 @@ yylex (YYSTYPE *lvalp, parser_control *pc) if (c == '-' || c == '+') { sign = c == '-' ? -1 : 1; - c = *++pc->input; + while (c = *++pc->input, ISSPACE (c)) + continue; if (! ISDIGIT (c)) /* skip the '-' sign */ continue; -- 2.47.3