Some Invalid mapping errors appear when using values with parentheses (e.g. calc(thing))
This seems to be due to 28c39db, where the parser uses last[3] to get the end position here, but the tokenizer only outputs 3 values in the case of a parenthesis here and here. This causes undefined to be sent to input.fromOffset, returning a NaN column value.
This should be fixable by using offset + 1 as the fourth value, like for the other single-character tokens above. Created PR #111
Some
Invalid mappingerrors appear when using values with parentheses (e.g.calc(thing))This seems to be due to 28c39db, where the parser uses
last[3]to get theendposition here, but the tokenizer only outputs 3 values in the case of a parenthesis here and here. This causesundefinedto be sent toinput.fromOffset, returning aNaNcolumn value.This should be fixable by using
offset + 1as the fourth value, like for the other single-character tokens above. Created PR #111