forked from devyn/unholy
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lib/unholy/pyasm.rb: jump opcode and empty arrays.
- Loading branch information
_why
committed
May 15, 2008
1 parent
12d52c4
commit ea44e7a
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 123 | ||
# 123 | ||
# 456 | ||
# 123 | ||
a = [] | ||
if true | ||
a << 123 | ||
end | ||
puts a[0] | ||
|
||
a = [] | ||
if true | ||
a << 123 | ||
else | ||
a << 456 | ||
end | ||
puts a[0] | ||
|
||
a = [] | ||
if false | ||
a << 123 | ||
else | ||
a << 456 | ||
end | ||
puts a[0] | ||
|
||
puts 123 if true |