proper handling of reserved identifiers
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@752 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/19-param-OK.asn1.-P b/tests/19-param-OK.asn1.-P
index 868d595..85f3f05 100644
--- a/tests/19-param-OK.asn1.-P
+++ b/tests/19-param-OK.asn1.-P
@@ -278,7 +278,7 @@
/*** <<< CTABLES [RelativeDistinguishedName] >>> ***/
-static int permitted_alphabet_table_1[256] = {
+static int permitted_alphabet_table_0[256] = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* */
0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0, /* ,-. */
@@ -289,8 +289,8 @@
1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0, /* pqrstuvwxyz */
};
-static int check_permitted_alphabet_1(const void *sptr) {
- int *table = permitted_alphabet_table_1;
+static int check_permitted_alphabet_0(const void *sptr) {
+ int *table = permitted_alphabet_table_0;
/* The underlying type is IA5String */
const IA5String_t *st = (const IA5String_t *)sptr;
const uint8_t *ch = st->buf;
@@ -319,7 +319,7 @@
}
- if(!check_permitted_alphabet_1(sptr)) {
+ if(!check_permitted_alphabet_0(st)) {
/* Constraint check succeeded */
return 0;
} else {