SIGN IN SIGN UP
WerWolv / ImHex UNCLAIMED

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.

0 0 53 C++

fix: Some variables are incorrectly highlighted as errors (#2690)

Non-auto function arguments of custom types defined inside a namespace
made the highlighter unable to check if member uses inside the function
are valid. Argument types were not parsed as fully qualified types and
the problem is corrected by making sure that fully qualified names are
used when they are found in function arguments.

An example of a pattern that shows the error is id3.hexpat in the which
uses unqualified types. In order to obtain the correct highlighting then
you have to add the namespace to all custom types even if they are being
used inside the namespace. Type names without namespace are considered
by the syntax highlighting code as belonging to the global scope
regardless of where the use takes place.
P
paxcut committed
854535fec614399f4fc9b7989b2694a151698b3a
Parent: a109e14
Committed by GitHub <noreply@github.com> on 3/20/2026, 5:45:01 PM