chiark / gitweb /
layout/data2safety: improve TODO.slip-multi-movfeat plan
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 12 Dec 2010 01:20:49 +0000 (01:20 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 12 Dec 2010 01:20:49 +0000 (01:20 +0000)
TODO.slip-multi-movfeat

index da09b0016995cf9c74c52a2b4c60890feb63fb6c..64141b29a31765ec32601dd124fd6f8609478501 100644 (file)
@@ -1,8 +1,15 @@
 * new section in ours.wiring for breaking up S0 S1 S2 S3 into
   P0Q0V0R0 et al.
-
 * data2safety reads that and computes most things to have the
   exploded version; the exception is layout-data.c SegPosCombInfo.pname
+       bidirectional mapping constructed from "movfeatposmap" lines
+       map from ([A-Za-z]+[0-9]+)* to ([A-Za-z]+[0-9]+)*
+       has two effects:
+               - in line_endwiring, used "forwards"
+               - when writing out .pname, used "backwards"
+       in each case we match only whole feature positions
+               by some suitable regexp trick
+       we record whether a mapping entry was used, and complain if not
 
 * movpos.c needs to be modified to cope with mixed MovPosChanges
   split MovPosChange into two structs, Change which is per-method