diff options
author | amitkummer <49096391+amitkummer@users.noreply.github.com> | 2022-08-18 15:15:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 15:15:40 +0200 |
commit | adb90dc65f2f211675af5be27d2a7efdf96c6f44 (patch) | |
tree | 73f86268cf1506ac58ff67445809e866ee5137c0 /pygments/lexers/matlab.py | |
parent | bb780f42fff0c9c278b33c545b445ded1179561b (diff) | |
download | pygments-git-adb90dc65f2f211675af5be27d2a7efdf96c6f44.tar.gz |
CFamilyLexer: Fix matching of function parameters (#2210)
This fixes an issue where in code like this:
```
int foo(float bar) // hello() {}
```
The lexer would match `(float bar) // hello()`
as the parameters of the function `foo`, instead
of just `(float bar)`.
In addition, a similar test case to what was originally
reported in #2208 is added.
Diffstat (limited to 'pygments/lexers/matlab.py')
0 files changed, 0 insertions, 0 deletions