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.

(cherry picked from commit 34e67bb597)
This commit is contained in:
Jung-uk Kim 2021-02-11 18:31:53 -05:00
parent bba9922d99
commit f1dab9dbdf

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 );