diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-15 15:53:31 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-15 15:54:28 -0800 |
| commit | bf37295faeb9535c56671f4b2050260e1b88cd32 (patch) | |
| tree | d544b68bca8c5bdf0926cc20a12f925c1761cfda /parser.lua | |
| parent | ef70abe4b7ed8d04574ab24ea4fd74fe2a64221f (diff) | |
Updating to v6.15, which includes "external (...)" instead of separate
'externally' versions of stuff, and some auto-formatting.
Diffstat (limited to 'parser.lua')
| -rw-r--r-- | parser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ make_parser = function(peg, make_tree) file = input } local tree = peg:match(input, nil, userdata) - if not tree then + if not tree or type(tree) == 'number' then error("File " .. tostring(filename) .. " failed to parse:\n" .. tostring(input)) end return tree |
