summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/com_err/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/com_err/parse.y')
-rw-r--r--source4/heimdal/lib/com_err/parse.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/heimdal/lib/com_err/parse.y b/source4/heimdal/lib/com_err/parse.y
index d64681d902..f628e8804f 100644
--- a/source4/heimdal/lib/com_err/parse.y
+++ b/source4/heimdal/lib/com_err/parse.y
@@ -46,6 +46,9 @@ extern char *yytext;
#define alloca(x) malloc(x)
#endif
+#define YYMALLOC malloc
+#define YYFREE free
+
%}
%union {
@@ -167,5 +170,5 @@ name2number(const char *str)
void
yyerror (char *s)
{
- error_message ("%s\n", s);
+ lex_error_message ("%s\n", s);
}