PragTob/shoes — pull request #1 by PragTob (2012-01-04 13:00:23+00:00)
Title: fixed the equality for the spaceship operator

This shall fix #175 .

About the many loc changed, I really only changed 1857 till 1866 - the others were changed by my editor (automatically removing trailing whitespaces) - if this is a problem I'll happily deactivate the plugin and submit a new pull request. The build works (at least on my machine) and as I'm not really a C-guy I didn't write tests however I used the following short shoes script as a little tests whether it works or not:

Shoes.app do
c1 = rgb 255, 120, 0
c2 = rgb 0, 255, 120
c3 = rgb 255, 120, 0
c4 = rgb 20, 20, 20

stack do
if c1 == c2
para "c1 == c2 (undesired behaviour)"
else
para "c1 != c2 (desired behaviour)"
end

if c1 == c3
para "c1 == c3 (desired behaviour)"
else
para "c1 != c3 (undesired behaviour)"
end

if c1 > c4
para "c1 > c4 (desired behaviour)"
else
para "c1 <= c4 (undesired behaviour)"
end
end

end

Please let me know if I did something totally wrong. :-)

Cheers,
Tobi