From 6812b7503bdb027a40353a926ac1b4162d929288 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 7 Nov 2015 22:27:27 +0200 Subject: [PATCH] salaam update and small fixes because if that --- Gemfile.lock | 2 +- lib/views/object_view.rb | 2 +- lib/views/source_view.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index fb10991..4645c02 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,7 +30,7 @@ GIT GIT remote: git://github.com/salama/salama.git - revision: 1309ea37de7ec14d44e112f94e0ea24db86351bc + revision: f11e8f0a13e9f2725fa028899c3270d481086add specs: salama (0.3.0) salama-object-file (~> 0.3) diff --git a/lib/views/object_view.rb b/lib/views/object_view.rb index 8bcee44..5b8fe72 100644 --- a/lib/views/object_view.rb +++ b/lib/views/object_view.rb @@ -28,7 +28,7 @@ class ObjectView < ListView f = @object.get_instance_variable(variable) else variable = (at - @object.class.get_length_index).to_s - f = @object.internal_object_get(at) + f = @object.get_internal(at) end #puts "got var name #{variable}#{variable.class} for #{at}, #{f}" view = RefView.new( variable , f , @z ) diff --git a/lib/views/source_view.rb b/lib/views/source_view.rb index e1ac882..2def43e 100644 --- a/lib/views/source_view.rb +++ b/lib/views/source_view.rb @@ -39,7 +39,7 @@ class SourceView < ElementView if i.is_a?(Register::FunctionReturn) object = @interpreter.get_register( i.register ) #puts "Object #{object}" - link = object.internal_object_get( i.index ) + link = object.get_internal( i.index ) #puts "Link #{link}" raise "No link method" unless link i = link