From 08071426c9827033d812280b37e06363077b2c15 Mon Sep 17 00:00:00 2001 From: Florian Ragwitz Date: Thu, 6 Nov 2008 04:23:32 +0100 Subject: [PATCH] Don't mix code and declarations. --- Signature.xs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Signature.xs b/Signature.xs index cbaf5bf..23cfea1 100644 --- a/Signature.xs +++ b/Signature.xs @@ -150,8 +150,9 @@ handle_proto (pTHX_ OP *op, void *user_data) { if (s[0] == ':') { s++; while (s[0] != '{') { + char *attr_start; s = hook_toke_skipspace (aTHX_ s); - char *attr_start = s; + attr_start = s; (void)hook_toke_scan_word (aTHX_ (s - SvPVX (PL_linestr)), 0, tmpbuf, sizeof (tmpbuf), &retlen); if (retlen < 1) {