aboutsummaryrefslogtreecommitdiffstats
path: root/base.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-01 23:51:40 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-01 23:55:30 +0000
commit177cd265947bfd9db20ad1a99ae07c76b6b4f147 (patch)
tree49af71e06770925abb0ab1fd2e89be077281b74c /base.moon
parentfirst-class scopes (diff)
downloadalive-177cd265947bfd9db20ad1a99ae07c76b6b4f147.tar.gz
alive-177cd265947bfd9db20ad1a99ae07c76b6b4f147.zip
macros and scopes
Diffstat (limited to 'base.moon')
-rw-r--r--base.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/base.moon b/base.moon
index 863305d..72dd62f 100644
--- a/base.moon
+++ b/base.moon
@@ -1,7 +1,7 @@
import is_object from require 'moon'
class Const
- types = { str: true, num: true, op: true, opdef: true }
+ types = { sym: true, scope: true, str: true, num: true, op: true, opdef: true, macro: true }
new: (@type, @value) =>
assert types[@type], "invalid Const type: #{@type}"