mirror of https://gerrit.osmocom.org/asn1c
string value compatibility
This commit is contained in:
parent
a7247f9ad2
commit
c7d939daee
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
* Added extra const qualifiers into the support code.
|
* Added extra const qualifiers into the support code.
|
||||||
* More RFC variations supported in crfc2asn1.pl.
|
* More RFC variations supported in crfc2asn1.pl.
|
||||||
|
* Refined string values compatibility. (Test cases 77, 78).
|
||||||
|
|
||||||
0.9.12: 2005-Mar-10
|
0.9.12: 2005-Mar-10
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1088,12 +1088,6 @@ TypeDeclaration:
|
||||||
BasicType {
|
BasicType {
|
||||||
$$ = $1;
|
$$ = $1;
|
||||||
}
|
}
|
||||||
| BasicString {
|
|
||||||
$$ = asn1p_expr_new(yylineno);
|
|
||||||
checkmem($$);
|
|
||||||
$$->expr_type = $1;
|
|
||||||
$$->meta_type = AMT_TYPE;
|
|
||||||
}
|
|
||||||
| TOK_CHOICE '{' AlternativeTypeLists '}' {
|
| TOK_CHOICE '{' AlternativeTypeLists '}' {
|
||||||
$$ = $3;
|
$$ = $3;
|
||||||
assert($$->expr_type == A1TC_INVALID);
|
assert($$->expr_type == A1TC_INVALID);
|
||||||
|
@ -1429,6 +1423,7 @@ BasicTypeId:
|
||||||
| TOK_CHARACTER TOK_STRING { $$ = ASN_BASIC_CHARACTER_STRING; }
|
| TOK_CHARACTER TOK_STRING { $$ = ASN_BASIC_CHARACTER_STRING; }
|
||||||
| TOK_UTCTime { $$ = ASN_BASIC_UTCTime; }
|
| TOK_UTCTime { $$ = ASN_BASIC_UTCTime; }
|
||||||
| TOK_GeneralizedTime { $$ = ASN_BASIC_GeneralizedTime; }
|
| TOK_GeneralizedTime { $$ = ASN_BASIC_GeneralizedTime; }
|
||||||
|
| BasicString { $$ = $1; }
|
||||||
;
|
;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue