Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve Objective-C vs Mathematica disambiguation for .m files
fix: improve Objective-C vs Mathematica disambiguation for .m files The previous logic would incorrectly identify Objective-C code as Mathematica when encountering pointer dereference syntax like `if (*foo == 0)`, since it looked similar to Mathematica's comment syntax `(* comment *)`. This change improves the disambiguation by: 1. Only matching Mathematica comments that start at beginning of line 2. Adding an additional Objective-C identifier for braces at end of line
- Loading branch information