lex: Use NULL instead of 0 for pointers

Note araujo tried to fix it in r298241 but he only touched generated
files for bootstrap.  This commit properly fixes the problem.
This commit is contained in:
Jung-uk Kim 2021-02-11 18:31:53 -05:00
parent 7fe2f504f8
commit 34e67bb597

View file

@ -705,7 +705,7 @@ M4QEND "]""]"
}
nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */
if ( (nmdefptr = ndlookup( nmstr )) == 0 )
if ( (nmdefptr = ndlookup( nmstr )) == NULL )
format_synerr(
_( "undefined definition {%s}" ),
nmstr );