diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-16 21:33:02 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-16 21:33:30 -0800 |
| commit | 520acd39795766354fc44c6e15f5f33f255ca33a (patch) | |
| tree | a4a538dd72ab9a1e229ec3d44beb86b80cfbe7ba /syntax_tree.lua | |
| parent | 517d661368611fe753e9fd97a7adb2e45fca745e (diff) | |
Overhauling OO-API a little to make it more minimalistic.
Diffstat (limited to 'syntax_tree.lua')
| -rw-r--r-- | syntax_tree.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax_tree.lua b/syntax_tree.lua index 186b40d..b9668e7 100644 --- a/syntax_tree.lua +++ b/syntax_tree.lua @@ -224,7 +224,7 @@ do end SyntaxTree = _class_0 end -SyntaxTree.__base.__type = "Syntax Tree" +SyntaxTree.__base.__type = "a Syntax Tree" getmetatable(SyntaxTree).__call = function(self, t, ...) if type(t.source) == 'string' then t.source = Source:from_string(t.source) |
