mirror of
https://github.com/samsonjs/compiler.git
synced 2026-03-25 08:45:52 +00:00
fixed a syntax error and argument error -- always test before commiting
This commit is contained in:
parent
de366ea542
commit
63cf421501
2 changed files with 2 additions and 2 deletions
2
build.rb
2
build.rb
|
|
@ -49,7 +49,7 @@ rescue ParseError => e
|
|||
exit(1)
|
||||
end
|
||||
|
||||
def run_and_warn_on_failure(command, name)
|
||||
def run_and_warn_on_failure(command)
|
||||
output = `#{command}`
|
||||
if $?.exitstatus != 0
|
||||
puts
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ class Compiler
|
|||
|
||||
def bit_expr(op, token)
|
||||
match(token)
|
||||
if block_given? yield else term end
|
||||
if block_given? then yield else term end
|
||||
asm.pop(EBX)
|
||||
asm.send(op, EAX, EBX)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue