string value compatibility

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@817 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2005-03-20 11:12:40 +00:00
parent c8bb2b19b8
commit 5e2c4b961b
3 changed files with 487 additions and 472 deletions

View File

@ -3,6 +3,7 @@
* Added extra const qualifiers into the support code.
* More RFC variations supported in crfc2asn1.pl.
* Refined string values compatibility. (Test cases 77, 78).
0.9.12: 2005-Mar-10

File diff suppressed because it is too large Load Diff

View File

@ -1088,12 +1088,6 @@ TypeDeclaration:
BasicType {
$$ = $1;
}
| BasicString {
$$ = asn1p_expr_new(yylineno);
checkmem($$);
$$->expr_type = $1;
$$->meta_type = AMT_TYPE;
}
| TOK_CHOICE '{' AlternativeTypeLists '}' {
$$ = $3;
assert($$->expr_type == A1TC_INVALID);
@ -1429,6 +1423,7 @@ BasicTypeId:
| TOK_CHARACTER TOK_STRING { $$ = ASN_BASIC_CHARACTER_STRING; }
| TOK_UTCTime { $$ = ASN_BASIC_UTCTime; }
| TOK_GeneralizedTime { $$ = ASN_BASIC_GeneralizedTime; }
| BasicString { $$ = $1; }
;
/*