Repository navigation
Commit fe6deaa
committed
fix(extraction): parse C++ branch views under the terminated-last-line rule
Merging main brought extract_cpp_branch_views (conditional variants), which built its CBMStringInput with the two-field initializer. With this branch's virtual_newline field that is a missing initializer, an error under GCC's -Wextra -Werror (the shadow job's product build). A branch view keeps the raw source's length and line structure, so it now goes through cbm_parse_source like the raw parse: the same virtual newline, and the same edit that removes it again.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent af01531 commit fe6deaa
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2267 | 2267 | | |
2268 | 2268 | | |
2269 | 2269 | | |
2270 | | - | |
2271 | | - | |
2272 | 2270 | | |
2273 | 2271 | | |
2274 | 2272 | | |
| |||
2278 | 2276 | | |
2279 | 2277 | | |
2280 | 2278 | | |
2281 | | - | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | 2284 | | |
| |||
0 commit comments