diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-06 19:03:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-06 19:03:01 +0000 |
commit | 12c6cc38c23bc840c73e97b070cd094025fcb686 (patch) | |
tree | 2a418e7dacbc57e8ae59bab4b54af0901db56175 | |
parent | 558c5aa7ffe45f0847428dfc8fa2b529e428b30f (diff) | |
download | coreutils-12c6cc38c23bc840c73e97b070cd094025fcb686.tar.xz |
Update from gnulib.
-rw-r--r-- | lib/getdate.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index 52ed8530b..5784b6ccd 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; |