X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=libasn1parser%2Fexpr-h.pl;fp=libasn1parser%2Fexpr-h.pl;h=0000000000000000000000000000000000000000;hb=7bfd112193698e9340c01e9260e3f14889f0cbe0;hp=99520b6bed4cfbab54bcf650bb2986319e14bad4;hpb=0c91129502aa163bb0e1d6d0ca7c807560ffb588;p=com%2Fasn1c.git diff --git a/libasn1parser/expr-h.pl b/libasn1parser/expr-h.pl deleted file mode 100755 index 99520b6..0000000 --- a/libasn1parser/expr-h.pl +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env perl - - -print< - -#ifndef __GNUC__ -#define __attribute__(x) /* unused */ -#endif - -static char *asn1p_expr_type2str[] __attribute__ ((unused)) = { -EOM - -while(<>) { - chomp; - next if(/TYPE_MAX/); - next unless(/^[ \t]+(ASN_[A-Z]+_([A-Za-z0-9_]+))/); - - print "\t[ $1 ]\t = "; - - $_ = $2; - if($_ eq "RELATIVE_OID") { - print '"RELATIVE-OID"'; - } else { - s/_/ /; - print '"'.$_.'"'; - } - - print ",\n"; -} - -print<= 0); - if(type < sizeof(asn1p_expr_type2str)/sizeof(asn1p_expr_type2str[0])) - return asn1p_expr_type2str[type]; - return NULL; -} - -#endif /* ASN1_PARSER_EXPR_STR_H */ -EOM