aboutsummaryrefslogtreecommitdiff
path: root/ruby/types.rb
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-10 23:27:50 -0500
committerJoel Martin <github@martintribe.org>2014-04-10 23:27:50 -0500
commitd85fc03775e0f99d1c17ce62d5aad5bbcd8ae106 (patch)
treef7bee4a4f67a61cce150e7125e018f6ebdc8fec2 /ruby/types.rb
parent01e254893fede2c88fa7d2210da9e03af3a12617 (diff)
downloadmal-d85fc03775e0f99d1c17ce62d5aad5bbcd8ae106.tar.gz
mal-d85fc03775e0f99d1c17ce62d5aad5bbcd8ae106.zip
Ruby: add step8_macros
Diffstat (limited to 'ruby/types.rb')
-rw-r--r--ruby/types.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/types.rb b/ruby/types.rb
index 6f22041..c19fda4 100644
--- a/ruby/types.rb
+++ b/ruby/types.rb
@@ -14,12 +14,14 @@ class Function < Proc
attr_accessor :ast
attr_accessor :env
attr_accessor :params
+ attr_accessor :is_macro
def initialize(ast=nil, env=nil, params=nil, &block)
super()
@ast = ast
@env = env
@params = params
+ @is_macro = false
end
def gen_env(args)