develooper Front page | perl.perl6.compiler | Postings from May 2008

[PATCH] [rakudo] factor out a large chunk of method scope_declarator

Thread Next
From:
Moritz Lenz
Date:
May 8, 2008 11:58
Subject:
[PATCH] [rakudo] factor out a large chunk of method scope_declarator
While reading through actions.pm I found that method scope_declarator
wasn't very readable because it was very long.

A big part of that is the declaration of attributes which needs some
special handling.

The attached patch moves that code to a separate function called
declare_attribute. It doesn't change any semantics.

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/


Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About