Community
Participate
Working Groups
Build Identifier: 8.0.1 The following code #define TEST "Hello" /* First word */\ "world!" is not resolved to the correct value "Hello"\"world!" but to "Hello" only. Leaving out the comment in the above #define, the intended define will be resolved. Reproducible: Always
Works for me, I have tested using the following code: #define TEST "Hello" /* First word */\ "world!"; void test() { char* x= TEST // no syntax error, so the ; is picked up }
Created attachment 213036 [details] Hover only shows "Hello" instead of "Hello World"
Then maybe it is only a hover tooltip problem. Take a look at the attached screenshot.
(In reply to comment #3) > Then maybe it is only a hover tooltip problem. Take a look at the attached > screenshot. Looks like it, it won't affect the index.
(In reply to comment #4) > (In reply to comment #3) > > Then maybe it is only a hover tooltip problem. Take a look at the attached > > screenshot. > > Looks like it, it won't affect the index. Right. So it seems there is a bug in the hover. Can you please move this issue then to the right component? Thank you
Starting from 8.1, the source hover is not shown when hovering on a definition, see Bug 359392. If you hover on this one: char* x= TEST then this is displayed in the source hover: "Hello" /* First word */\ "world!"; Which seems ideal to me.