This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/cpp
amitkummer adb90dc65f
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.
2022-08-18 15:15:40 +02:00
..
example.cpp conftest: disallow error tokens in examplefiles 2021-01-21 22:20:46 +01:00
example.cpp.output CFamilyLexer: refuse quotes between parentheses for function definitions and declarations (#2208) 2022-08-15 11:45:13 +02:00
example2.cpp Also add auto-updatable output-based tests to examplefiles (#1689) 2021-01-20 10:48:45 +01:00
example2.cpp.output Use the correct whitespace token for the C family. 2021-06-20 11:42:04 +02:00
functions.cpp CFamilyLexer: Fix matching of function parameters (#2210) 2022-08-18 15:15:40 +02:00
functions.cpp.output CFamilyLexer: Fix matching of function parameters (#2210) 2022-08-18 15:15:40 +02:00
namespace.cpp Fixes for C and C++ functions and namespaces (#1722) 2021-02-27 17:32:41 +01:00
namespace.cpp.output Fix #1237 cpp whitespace token usage expanded (#1904) 2021-10-02 12:23:26 +02:00
noexcept.cpp Also add auto-updatable output-based tests to examplefiles (#1689) 2021-01-20 10:48:45 +01:00
noexcept.cpp.output Use the correct whitespace token for the C family. 2021-06-20 11:42:04 +02:00