Skip to content
Browse files

[yapsi-prototype] killed off 'init'

Turns out if you re-declare a variable in the same scope, it's the same
container. No re-initialization being done. That's much simpler.
  • Loading branch information...
1 parent 2be13fa commit f1db89e4078d4c9a455c0de67fb9164e6fe9f9dc @masak committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 yapsi-prototype
View
1 yapsi-prototype
@@ -137,7 +137,6 @@ sub sicify {
}
when ('AST::Declaration') {
my ($register, $variable) = sicify($node->{Variable});
- push @s, "init $variable";
return ($register, $variable);
}
when ('AST::Assignment') {

0 comments on commit f1db89e

Please sign in to comment.
Something went wrong with that request. Please try again.