-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows PATH variables parsed with no '\' #124
Comments
Unescape input to bashlex parser. It should address issues nickdiego#124, nickdiego#120 Signed-off-by: Ioannis Damigos <[email protected]>
@arminveres did the fix worked for you? Nothing on my end |
Hi, I didn't try. So I am guessing it didn't work for you? |
yes windows Path variables are without their "\" . I suppose it's a simple correction since everything is extracted correctly it just skips adding that character. I'll try to look into it next week. |
This patch fixed this problem on my system (Windows 10 LTSC 2021 & Python 3.10).And I noticed that if I switch my python into python3.6, it seems doesn't need any patch.Maybe it has relation with python version?I will keep testing.
来自 Outlook<http://aka.ms/weboutlook>
…________________________________
发件人: Armin Veres ***@***.***>
发送时间: 2022年11月10日 20:38
收件人: nickdiego/compiledb ***@***.***>
抄送: jinyi-x ***@***.***>; Mention ***@***.***>
主题: Re: [nickdiego/compiledb] Windows PATH variables parsed with no '\' (Issue #124)
I just noticed this issue as well. Is the PR #126<#126> going to be merged i.e. the problem fixed in the foreseeable future?
Thanks for working on it @jinyi-x<https://github.com/jinyi-x>
―
Reply to this email directly, view it on GitHub<#124 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOP5V6ZRNTWCJOP6QIQE4KLWHYAZHANCNFSM57IONGYQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I think this issue is solved by the above comment, maybe author can apply better change, but I also found this, trying to solve why the vulkan header wasn't being detected by nvim's clangd lsp. Do you guys still get the same |
Nicely done. It really solves it. I am also gettting the " ' ' " quotation. I haven't investigated it, I only ran a quick sed from inside neovim and now it works! I think you should propose a PR for this. |
@arminveres I looked up an old |
@arminveres I looked it up and it appears the " ' ' " pattern is introduced by @jinyi-x 's solution of using |
@okuma10 It seems to work, if you drop jinyi's solution and just add yours. I have not tried it on Linux, though. |
#128 seems to also take this into account... |
Unescape input to bashlex parser. It should address issues nickdiego#124, nickdiego#120 Signed-off-by: Ioannis Damigos <[email protected]>
Unescape input to bashlex parser. It should address issues nickdiego#124, nickdiego#120 Signed-off-by: Ioannis Damigos <[email protected]>
On windows using a PATH variable for includes ends up with a string with no ''
Example:
In Makefile: -I$(VK_SDK_PATH)/include
When make is run: -IC:\VulkanSDK\1.3.216.0/include
In compile_commands.json: -IC:VulkanSDK1.3.216.0/include
The text was updated successfully, but these errors were encountered: