Skip to content

Commit

Permalink
Fixed bug #28 for whitespace case
Browse files Browse the repository at this point in the history
  • Loading branch information
wheatwizard committed Jul 27, 2016
1 parent e43b9d1 commit 3aa842b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brain_flak.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

source_file = File.open(source_path, 'r')
source = source_file.read
source = source.gsub "\s", ""
source_length = source.length

interpreter = BrainFlakInterpreter.new(source, numbers, debug)
Expand Down

0 comments on commit 3aa842b

Please sign in to comment.