1 ///////////////////////////////////////////////////////////////////////////////
2 // This file is generated automatically using Prop (version 2.3.6),
3 // last updated on Nov 2, 1999.
4 // The original source file is "ast.pcc".
5 ///////////////////////////////////////////////////////////////////////////////
8 ///////////////////////////////////////////////////////////////////////////////
10 // This file implements some basic AST manipulation routines
12 ///////////////////////////////////////////////////////////////////////////////
17 ///////////////////////////////////////////////////////////////////////////////
19 // Select the ith component from an expression list
21 ///////////////////////////////////////////////////////////////////////////////
22 Exp
component_exp(Exps exps
, int n
)
53 error("%Lexpression %e does not have component %i\n",
58 ///////////////////////////////////////////////////////////////////////////////
60 // Select the ith component from an expression list
62 ///////////////////////////////////////////////////////////////////////////////
63 Exp
component_exp(Exps exps
, Id n
)
64 { return component_exp(exps
,atol(n
+1)); }
66 ///////////////////////////////////////////////////////////////////////////////
68 // Select the ith component from a labeled expression list
70 ///////////////////////////////////////////////////////////////////////////////
71 Exp
component_exp(LabExps labeled_exps
, Id n
)
72 { LabExps les
= labeled_exps
;
101 error("%Lexpression %e does not have component %s\n",
102 RECORDexp(labeled_exps
), n
);
107 ------------------------------- Statistics -------------------------------
108 Merge matching rules = yes
109 Number of DFA nodes merged = 2
110 Number of ifs generated = 4
111 Number of switches generated = 0
114 Adaptive matching = enabled
115 Fast string matching = disabled
116 Inline downcasts = enabled
117 --------------------------------------------------------------------------