Commit b686024
committed
feat(isc): strip comments in sub rules, add space/non_boundary primitives
Codemod: strip # comments from sub rule lines BEFORE tokenizing. Prevents
comment text like '# comment with after keyword' from being parsed as a
real constraint.
Grammar: accept 'space' and 'non_boundary' as zero-width primitives.
Verification: 160/289 maps equivalent (55%).1 parent cc65e51 commit b686024
2 files changed
Lines changed: 29 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
500 | 504 | | |
501 | | - | |
502 | 505 | | |
503 | 506 | | |
504 | 507 | | |
| |||
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | 528 | | |
530 | 529 | | |
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
534 | 533 | | |
535 | | - | |
536 | 534 | | |
537 | 535 | | |
538 | | - | |
539 | 536 | | |
540 | 537 | | |
541 | 538 | | |
542 | 539 | | |
543 | | - | |
544 | | - | |
545 | 540 | | |
546 | 541 | | |
547 | 542 | | |
548 | 543 | | |
549 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
550 | 567 | | |
551 | 568 | | |
552 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments