mathworks / MATLAB-Language-grammar

This repository contains a regular expression based language grammar for MATLAB to be used by GitHub Linguist for highlighting MATLAB code on GitHub
50 stars 17 forks source link

Function definitions without parens highlighted incorrectly #41

Closed rlivings39 closed 3 years ago

rlivings39 commented 3 years ago
function tFunctionDefinitions()
    % Help text
    y = "a string";

function functionWithoutParens
    % Help text
    y = "a string";

The 2nd function is not highlighted and the string contained therein is also not matched