NULL is a pointer, not string terminator

Replace some instances of NULL to '\0', when
referring to string terminator.
This commit is contained in:
Marcin Cieslak
2012-08-13 12:08:03 +02:00
committed by Jon Trulson
parent 3b06b6a6b7
commit 706fccb50e
14 changed files with 32 additions and 32 deletions

View File

@@ -435,12 +435,12 @@ occurrence : FIRSTWEEK endMarker
endDate : /* empty */
{
$$ = NULL;
$$ = '\0';
}
| DATE
{
if (_csa_iso8601_to_tick($1, &$$) == -1)
$$ = NULL;
$$ = '\0';
}
;