diff --git a/src/lips.js b/src/lips.js index 29b4b9ed..a7977768 100644 --- a/src/lips.js +++ b/src/lips.js @@ -1437,7 +1437,7 @@ function match_or_null(re, char) { class Parser { constructor({ env, meta = false, formatter = multiline_formatter } = {}) { read_only(this, '_formatter', formatter, { hidden: true }); - read_only(this, '__env__', env ?? env.inerit('parser')); + read_only(this, '__env__', env ?? env.inherit('parser')); read_only(this, '_meta', meta, { hidden: true }); // datum labels read_only(this, '_refs', [], { hidden: true });