diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-02-01 23:51:40 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-02-01 23:55:30 +0000 |
| commit | 177cd265947bfd9db20ad1a99ae07c76b6b4f147 (patch) | |
| tree | 49af71e06770925abb0ab1fd2e89be077281b74c /base.moon | |
| parent | first-class scopes (diff) | |
| download | alive-177cd265947bfd9db20ad1a99ae07c76b6b4f147.tar.gz alive-177cd265947bfd9db20ad1a99ae07c76b6b4f147.zip | |
macros and scopes
Diffstat (limited to 'base.moon')
| -rw-r--r-- | base.moon | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |
