From 0d56d35ee3ca35d5532184fbc62e8902a0423fac Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 14 Nov 2010 11:53:54 -0600 Subject: we never use sigil for anything --- Stash.xs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Stash.xs b/Stash.xs index e1d66e1..142fa52 100644 --- a/Stash.xs +++ b/Stash.xs @@ -99,7 +99,6 @@ typedef enum { typedef struct { vartype_t type; - char sigil; char *name; } varspec_t; @@ -184,12 +183,10 @@ void _deconstruct_variable_name(char *variable, varspec_t *varspec) } if (varspec->type != VAR_NONE) { - varspec->sigil = variable[0]; varspec->name = &variable[1]; } else { varspec->type = VAR_IO; - varspec->sigil = '\0'; varspec->name = variable; } } @@ -205,12 +202,6 @@ void _deconstruct_variable_hash(HV *variable, varspec_t *varspec) varspec->name = savesvpv(*val); SAVEFREEPV(varspec->name); - val = hv_fetch(variable, "sigil", 5, 0); - if (!val) - croak("The 'sigil' key is required in variable specs"); - - varspec->sigil = (SvPV_nolen(*val))[0]; - val = hv_fetch(variable, "type", 4, 0); if (!val) croak("The 'type' key is required in variable specs"); -- cgit v1.2.3-54-g00ecf