Skip to content

Extraction hardening: matlab - #1003

Merged
squid-protocol merged 4 commits into
mainfrom
fix-extraction-matlab-852
Aug 3, 2026
Merged

Extraction hardening: matlab#1003
squid-protocol merged 4 commits into
mainfrom
fix-extraction-matlab-852

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Aug 3, 2026

Copy link
Copy Markdown
Owner

This PR hardens the extraction regexes for MATLAB and isolates its testing suite.

Summary of Changes:

  • Tests Added/Migrated: Migrated MATLAB test cases to a dedicated test_matlab.py suite.
  • Issues Found & Fixed: Fixed func_start line-continuation ... logic to accurately parse multi-line definitions. Restored support for bare \n line-wraps inside output arrays (function [a, b] =\nfoo(x)). Fixed class_start generic missing space support.
  • Notes & Limitations: Unshielded Mode D execution for block comments and string literals is recorded as a known limitation.

Closes #852

- Added missing line continuation support for func_start, args, class_start, and _dependency_capture.
- Fixed class_start generic missing space support.
- Recorded unshielded Mode D execution for block comments and string literals as known limitation (Class 3).
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 05191be into main Aug 3, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the fix-extraction-matlab-852 branch August 3, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extraction hardening: matlab

1 participant