Guest User

Untitled

a guest
May 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. geuler:rbx-cpp brian$ git diff
  2. diff --git a/spec/compiler/spec_helper.rb b/spec/compiler/spec_helper.rb
  3. index 38e2e82..a8f97d0 100644
  4. --- a/spec/compiler/spec_helper.rb
  5. +++ b/spec/compiler/spec_helper.rb
  6. @@ -1,5 +1,6 @@
  7. require File.dirname(__FILE__) + '/../spec_helper'
  8.  
  9. +unless defined?(RUBY_ENGINE) and RUBY_ENGINE == 'rbx'
  10. $: << 'lib'
  11.  
  12. require File.dirname(__FILE__) + '/../../lib/compiler/compiler'
  13. @@ -20,6 +21,8 @@ require "sexp_processor"
  14. load "kernel/delta/string.rb"
  15.  
  16. require 'ruby_parser' # for s(...)
  17. +end
  18. +
  19. def parse ruby
  20. ruby.to_sexp("spec")
  21. end
Add Comment
Please, Sign In to add comment