refactored parameterization support
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1102 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1parser/asn1p_param.h b/libasn1parser/asn1p_param.h
index c9c20c2..141c82b 100644
--- a/libasn1parser/asn1p_param.h
+++ b/libasn1parser/asn1p_param.h
@@ -1,17 +1,21 @@
/*
- * Structures and prototypes related to parametrization
+ * Structures and prototypes related to parameterization
*/
-#ifndef ASN1_PARSER_PARAMETRIZATION_H
-#define ASN1_PARSER_PARAMETRIZATION_H
+#ifndef ASN1_PARSER_PARAMETERIZATION_H
+#define ASN1_PARSER_PARAMETERIZATION_H
+
+struct asn1p_expr_s; /* Forward declaration */
typedef struct asn1p_paramlist_s {
struct asn1p_param_s {
+ /* Translated from */
asn1p_ref_t *governor;
char *argument;
+ /* Translated into */
+ struct asn1p_expr_s *into_expr;
} *params;
int params_count;
int params_size;
-
int _lineno;
} asn1p_paramlist_t;
@@ -27,4 +31,4 @@
asn1p_ref_t *opt_gov, char *arg);
-#endif /* ASN1_PARSER_PARAMETRIZATION_H */
+#endif /* ASN1_PARSER_PARAMETERIZATION_H */