[gnutls-devel] libtasn1 | ASN1.y: improved detection of built-in types (!36)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Jul 28 11:01:00 CEST 2019




Tim Rühsen started a new discussion on lib/ASN1.y: https://gitlab.com/gnutls/libtasn1/merge_requests/36#note_196731084

>  ;
>  
>  type_constant:   type_def     {$$=$1;}
> +               | type_invalid {$$=NULL;}
>                 | constant_def {$$=$1;}
>  ;
>  
>  type_constant_list :   type_constant    {$$=$1;}
>                       | type_constant_list type_constant  {$$=$1;
> -                                                          _asn1_set_right(_asn1_get_last_right($1),$2);}
> +                                                          if ($1 && $1) _asn1_set_right(_asn1_get_last_right($1),$2);}

Why is it `if ($1 && $1)` ?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/36#note_196731084
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190728/831d3134/attachment-0001.html>


More information about the Gnutls-devel mailing list