Skip to content

Commit

Permalink
[Yapsi] unbroke cleaning-up change
Browse files Browse the repository at this point in the history
Too much whitespace ended up in a literal in a regex. isBEKaml++ for noticing.
  • Loading branch information
Carl Masak committed Aug 14, 2010
1 parent f469702 commit 542b528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Yapsi.pm
Expand Up @@ -426,8 +426,8 @@ class Yapsi::Runtime {
Value.new( :payload(reg[$register]) )
);
}
when / ^ '$'(\d+)' = fetch
['[(0)||'-'(\d+)]', '(\d+)']' $ / {
when / ^ '$'(\d+)' = fetch '
'['[(0)||'-'(\d+)]', '(\d+)']' $ / {
my ($register, $levels, $slot) = +$0, +$1, +$2;
my $lexpad = n-up-from($current-lexpad, $levels);
reg[$register] = $lexpad.slots[$slot].payload();
Expand Down

0 comments on commit 542b528

Please sign in to comment.