Bugfix: conversion of an empty string to a date or hour object
[AXE.git] / src / parsedate.c
index 883dfcc..61de4b1 100644 (file)
@@ -60,7 +60,7 @@
 #include <stdio.h>
 #include "parsedate.h"
 
-static char *RCSID = "$Id: parsedate.c,v 1.1 2002-07-25 08:01:27 arjen Exp $";
+static char *RCSID = "$Id: parsedate.c,v 1.2 2002-09-28 06:58:45 arjen Exp $";
 
 extern int yyparse();
 
@@ -107,6 +107,7 @@ struct parseddate * parsedate (char *date)
 
     /* Parse the argument string. */
     yyinbuf = date;
+
     if (yyparse () != 0 && yyans.error == NULL)
       yyans.error = yyinbuf;