Commit f29662e
fix(extract): read "has the same meaning as" statutory-import definitions
DEFINITION_MEANING_TAIL matched only the participle forms — `has the meaning
given|set forth|ascribed|assigned|…`. The common statutory/GDPR-import idiom
`"Controller" has the same meaning as in the GDPR` (and `… as set forth in the
DPA`) has the adjective "same" before "meaning" and the connector "as", so the
term went unregistered and STRUCT-006 falsely reported it as used-but-undefined.
Added an optional `same` adjective and an `as (in|set|used|defined|…)` connector
branch. Decoy guard: `has the same meaning` with no quoted subject (ordinary
prose) still defines nothing.
Zero golden churn (no corpus fixture uses this form). 2 regression tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 02cafde commit f29662e
3 files changed
Lines changed: 30 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
1335 | | - | |
| 1335 | + | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
554 | 578 | | |
555 | 579 | | |
556 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | | - | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
0 commit comments