Open akhtarmdsaad opened 4 months ago
Issue: (cpp) Keywords followed by parens are treated as built_in
Resolves #3980
Added list of false positives to FUNCTION_DISPATCH
FUNCTION_DISPATCH
The List:
/(?!decltype)/, /(?!if)/, /(?!for)/, /(?!switch)/, /(?!while)/, /(?!alignas)/, /(?!alignof)/, /(?!asm)/, /(?!catch)/, /(?!const_cast)/, /(?!dynamic_cast)/, /(?!noexcept)/, /(?!reinterpret_cast)/, /(?!sizeof)/, /(?!static_assert)/, /(?!static_cast)/, /(?!typeid)/, /(?!requires)/, /(?!explicit)/, /(?!case)/, /(?!delete)/, // compound operators /(?!bitand_eq)/, /(?!bitor_eq)/, /(?!xor_eq)/, /(?!not_eq)/, /(?!or_eq)/, /(?!and_eq)/, // operators /(?!and)/, /(?!or)/, /(?!bitand)/, /(?!bitor)/, /(?!xor)/, // unary operators /(?!not)/, /(?!compl)/, /(?!co_await)/, /(?!co_return)/, /(?!co_yield)/, // Reserved types /(?!int)/, /(?!char)/, /(?!double)/, /(?!float)/, /(?!bool)/, /(?!auto)/,
CHANGES.md
Changes to minified artifacts in /build, after gzip compression.
/build
Total change +551 B
Issue: (cpp) Keywords followed by parens are treated as built_in![image](https://github.com/highlightjs/highlight.js/assets/57033728/f46152fd-f8de-42c4-a697-759e0b0a8a21)
Resolves #3980
Changes
Added list of false positives to
FUNCTION_DISPATCH
The List:
Before:
After:
Checklist
CHANGES.md