diff options
-rwxr-xr-x | upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index b610fa8b..76a4e591 100755 --- a/upd8.js +++ b/upd8.js @@ -979,7 +979,7 @@ const replacerSpec = { const tagArgumentValue = '='; const tagLabel = '|'; - const makeNode = (i, type, props) => ({i, type, ...props}); + const makeNode = (i, type, data) => ({i, type, data}); const makeError = (i, message) => makeNode(i, 'error', {message}); const endOfInput = (i, comment) => makeError(i, `Unexpected end of input (${comment}).`); |