mirror of https://gerrit.osmocom.org/asn1c
uniform checking
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@851 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
77fff67afd
commit
246a55fd0a
|
@ -172,10 +172,9 @@ asn1c_emit_constraint_checking_code(arg_t *arg) {
|
|||
INDENT(+1);
|
||||
switch(etype) {
|
||||
case ASN_CONSTR_SEQUENCE_OF:
|
||||
OUT("/* SEQUENCE validation code is the same as SET */\n");
|
||||
case ASN_CONSTR_SET_OF:
|
||||
OUT("/* Perform validation of the inner elements */\n");
|
||||
OUT("return SET_OF_constraint(td, sptr, app_errlog, app_key);\n");
|
||||
OUT("return td->check_constraints(td, sptr, app_errlog, app_key);\n");
|
||||
break;
|
||||
default:
|
||||
OUT("/* Constraint check succeeded */\n");
|
||||
|
|
Loading…
Reference in New Issue