diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-09 14:48:23 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-09 14:48:40 -0800 |
| commit | a2f07415c5284bf94c146cea6eed4a15f171b9ab (patch) | |
| tree | 925ab30d70cac56c24e007f7daa0b89b9f371f3c /core/errors.nom | |
| parent | 7d2b7199d87930096b7fd799709fe0105d51eccb (diff) | |
Deprecating (% as lua statements) and (% as lua return)
Diffstat (limited to 'core/errors.nom')
| -rw-r--r-- | core/errors.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/errors.nom b/core/errors.nom index b2222ee..7cec344 100644 --- a/core/errors.nom +++ b/core/errors.nom @@ -63,16 +63,16 @@ test: local fell_through = false local err, erred = nil, false local ok, ret = xpcall(function() - \(%action as lua statements) + \(%action as lua) fell_through = true end, function(\(=lua "\%fallback and \(%msg as lua expr) or ''")) local ok, ret = pcall(function() - \((=lua "\%fallback or \%msg") as lua statements) + \((=lua "\%fallback or \%msg") as lua) end) if not ok then err, erred = ret, true end end) if ok then - \(%success as lua statements) + \(%success as lua) if not fell_through then return ret end |
