From 1ff84a326d0d713e63382bbe164adbb6b4902a1b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 5 Sep 2011 20:17:03 -0500 Subject: don't allow variable names that contain :: --- typemap | 1 + 1 file changed, 1 insertion(+) (limited to 'typemap') diff --git a/typemap b/typemap index 8fd59c8..fc3c031 100644 --- a/typemap +++ b/typemap @@ -10,6 +10,7 @@ T_VARSPEC _deconstruct_variable_hash((HV*)SvRV($arg), &$var); else croak(\"varspec must be a string or a hashref\"); + _check_varspec_is_valid(&$var); T_VARTYPE if (!SvPOK($arg)) -- cgit v1.2.3-54-g00ecf