|
@@ -475,7 +475,7 @@ this.parseCss = this.parseCss || (() => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
const value = convertAStringToANumber(repr);
|
|
const value = convertAStringToANumber(repr);
|
|
|
- return { type: type, value: value, repr: repr };
|
|
|
|
|
|
|
+ return { type: value, repr };
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function convertAStringToANumber(string) {
|
|
function convertAStringToANumber(string) {
|
|
@@ -514,7 +514,7 @@ this.parseCss = this.parseCss || (() => {
|
|
|
lastLineLength = column;
|
|
lastLineLength = column;
|
|
|
column = 0;
|
|
column = 0;
|
|
|
};
|
|
};
|
|
|
- const locStart = { line: line, column: column };
|
|
|
|
|
|
|
+ const locStart = { line, column };
|
|
|
|
|
|
|
|
const codepoint = function (i) {
|
|
const codepoint = function (i) {
|
|
|
if (i >= str.length) {
|
|
if (i >= str.length) {
|