build
This commit is contained in:
parent
98f91607cd
commit
4487834591
15 changed files with 452 additions and 520 deletions
2
docs/dist/parse.js
vendored
2
docs/dist/parse.js
vendored
|
|
@ -93,7 +93,7 @@ export function patternifyAST(ast) {
|
|||
}
|
||||
const {start, end} = ast.location_;
|
||||
const value = !isNaN(Number(ast.source_)) ? Number(ast.source_) : ast.source_;
|
||||
return pure(value).withLocation({start, end});
|
||||
return pure(value).withLocation([start.line, start.column, start.offset], [end.line, end.column, end.offset]);
|
||||
}
|
||||
return patternifyAST(ast.source_);
|
||||
case "stretch":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue