Files
Mahenoor Salat 3289624d0c fix(parsers): clean up and refactor asm-parser-ewavr (#8957)
## Summary

Fixes #4689

Refactors `lib/parsers/asm-parser-ewavr.ts` to clean up logic and
resolve stale TODO item:

- Extracts `getFilenameFromComment` and `getLineNumberFromComment`
helper functions into private instance methods on `AsmEWAVRParser`,
avoiding function allocation on every line per assembly parse.
- Fixes `currentFile === undefined` check (since `currentFile` is
initialized as `string | null` = `null`).
- Verified all unit tests pass (`test/ewavr-asm-parser-tests.ts`).

## Testing

Ran local unit tests:
```bash
npm test -- test/ewavr-asm-parser-tests.ts test/vc-asm-parser-tests.ts
```
Result: 11 tests passed in 2 test files.
2026-07-29 15:52:49 +02:00
..
2026-06-04 23:41:19 +02:00
2026-07-02 18:26:35 +01:00
2026-07-02 18:26:35 +01:00
2025-07-28 10:34:46 -05:00
2026-05-23 14:47:16 +03:00