aboutsummaryrefslogtreecommitdiff
path: root/lib/asn1/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/symbol.c')
-rw-r--r--lib/asn1/symbol.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/asn1/symbol.c b/lib/asn1/symbol.c
index 9407915c19b7..b05f68fa74a9 100644
--- a/lib/asn1/symbol.c
+++ b/lib/asn1/symbol.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997 - 2005 Kungliga Tekniska Högskolan
+ * Copyright (c) 1997 - 2005 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -34,8 +34,6 @@
#include "gen_locl.h"
#include "lex.h"
-RCSID("$Id: symbol.c 15617 2005-07-12 06:27:42Z lha $");
-
static Hashtab *htab;
static int
@@ -68,7 +66,7 @@ output_name(char *s)
char *p;
for (p = s; *p; ++p)
- if (*p == '-')
+ if (*p == '-' || *p == '.')
*p = '_';
}
@@ -95,7 +93,7 @@ checkfunc(void *ptr, void *arg)
{
Symbol *s = ptr;
if (s->stype == SUndefined) {
- error_message("%s is still undefined\n", s->name);
+ lex_error_message("%s is still undefined\n", s->name);
*(int *) arg = 1;
}
return 0;