Method: RubyToAnsiC#process_dvar

Defined in:
lib/ruby_to_ansi_c.rb

#process_dvar(exp) ⇒ Object

Dynamic variables, should be the same as lvar at this stage.

TODO: remove / rewrite?



385
386
387
388
389
# File 'lib/ruby_to_ansi_c.rb', line 385

def process_dvar(exp)
  var = exp.shift
  @env.add var.to_sym, exp.sexp_type
  return var.to_s
end