Last #endif
in CDetourDis::AdjustTarget
isn't highlighted
#109524
Unanswered
jsoref
asked this question in
Code Search and Navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
https://github.com/microsoft/Detours/blob/05623a50264d777499760d9258a4e503eb222910/src/disasm.cpp#L568-L572
Without the yellow highlighting, here is the html for the respective lines:
The
#endif
on 572 is missing<span class="pl-k" data-code-text="endif">
Thoughts:
#define DETOURS_INTERNAL
isn't highlighted, but line 20#define ASSERT(x)
is)#endif
on line 53 which is already unhappy -- it's possible the#elif
on 48 is causing the parser to have issues, but I can't explain why as line 50's#if
should have at least set the count to+1
-- it's also possible the lack of any uncommented lines between 50 and 53 are to blameBeta Was this translation helpful? Give feedback.
All reactions