heimdal: fixed the use of error_message() in heimdal
the lex code in heimdal had a function error_message() which is confusingly the ame as a core function from the com_err library. This replaces it with lex_error_message(), and allows Samba4 to have a stricter check for duplicate symbols between it's components. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
2e31740f62
commit
2e34d7cf6e
@@ -143,10 +143,10 @@ find_tag (const Type *t,
|
||||
case TType:
|
||||
if ((t->symbol->stype == Stype && t->symbol->type == NULL)
|
||||
|| t->symbol->stype == SUndefined) {
|
||||
error_message("%s is imported or still undefined, "
|
||||
" can't generate tag checking data in CHOICE "
|
||||
"without this information",
|
||||
t->symbol->name);
|
||||
lex_error_message("%s is imported or still undefined, "
|
||||
" can't generate tag checking data in CHOICE "
|
||||
"without this information",
|
||||
t->symbol->name);
|
||||
exit(1);
|
||||
}
|
||||
find_tag(t->symbol->type, cl, ty, tag);
|
||||
|
Reference in New Issue
Block a user