Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/kebabify.toit
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ migrate invocation/cli.Invocation toitc/string?:
migration-points.resize point-count

ui.emit --info "Migrating $point-count locations."
parsed-points := json.parse "[$(migration-points.join ",")]"
joined := migration-points.join ","
joined = joined.replace --all "\\" "\\\\"
parsed-points := json.parse "[$joined]"

file-points := {:}
// The entries are of the form "[file, offset-from, offset-to, replacement]".
Expand Down
Loading