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:
parent
7fe2f504f8
commit
34e67bb597
@ -705,7 +705,7 @@ M4QEND "]""]"
|
|||||||
}
|
}
|
||||||
nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */
|
nmstr[yyleng - 2 - end_is_ws] = '\0'; /* chop trailing brace */
|
||||||
|
|
||||||
if ( (nmdefptr = ndlookup( nmstr )) == 0 )
|
if ( (nmdefptr = ndlookup( nmstr )) == NULL )
|
||||||
format_synerr(
|
format_synerr(
|
||||||
_( "undefined definition {%s}" ),
|
_( "undefined definition {%s}" ),
|
||||||
nmstr );
|
nmstr );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user