Commit 792641ee authored by Lev Walkin's avatar Lev Walkin

add const

parent e9050cc9
...@@ -1674,7 +1674,7 @@ asn1c_lang_C_type_SIMPLE_TYPE(arg_t *arg) { ...@@ -1674,7 +1674,7 @@ asn1c_lang_C_type_SIMPLE_TYPE(arg_t *arg) {
if((expr->expr_type == ASN_BASIC_ENUMERATED) || if((expr->expr_type == ASN_BASIC_ENUMERATED) ||
(expr->expr_type == ASN_BASIC_INTEGER)) { (expr->expr_type == ASN_BASIC_INTEGER)) {
if(expr->_type_referenced) { if(expr->_type_referenced) {
OUT("extern asn_INTEGER_specifics_t " OUT("extern const asn_INTEGER_specifics_t "
"asn_SPC_%s_specs_%d;\n", p, expr->_type_unique_index); "asn_SPC_%s_specs_%d;\n", p, expr->_type_unique_index);
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment