Skip to content

Commit

Permalink
Fixed checking eqality on sentinal value: use the sentinal's idea of …
Browse files Browse the repository at this point in the history
…equality, not the other object's
  • Loading branch information
russolsen committed Jun 26, 2014
1 parent 6ebd0a3 commit bcd8060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/edn/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def read_basic
@s.skip_ws
ch = @s.current
result = call_reader(READERS[ch])
while result == NOTHING
while NOTHING.equal?(result)
@s.skip_ws
result = call_reader(READERS[@s.current])
end
Expand Down

0 comments on commit bcd8060

Please sign in to comment.