if (fr_sbuff_is_char(&our_in, '&')) return tmpl_afrom_attr_substr(ctx, NULL, out, in,
p_rules, t_rules);
+ /*
+ * ::value
+ *
+ * Treated as enum name.
+ *
+ * @todo - move the enum parsing here, and then unresolved tmpls _always_ become xlat references.
+ * and when we fix that, change the enum name to include the ::
+ */
+ if (fr_sbuff_is_str_literal(&our_in, "::")) {
+ (void) fr_sbuff_advance(&our_in, 2);
+ goto do_enum;
+ }
+
+
/*
* Allow bareword xlats if we
* find a '%' prefix.
/*
* Attempt to resolve enumeration values
*/
+ do_enum:
vpt = tmpl_alloc_null(ctx);
/*