Open SeasClouds opened 6 months ago
@SeasClouds Thanks for posting this issue, we'll place it on our backlog of things to investigate. Could you confirm for me what versions this issue appears on? Thanks!
Both v0.7.0
and v0.8.22
have this problem。I'm not sure there was a problem with the previous version
@SeasClouds Revisiting this, what is the issue? Does it seem like we're manually adding an erroneous parenthesis?
@gcampbell-msft dry-run out
( echo ' CC a.o' ; gcc -MD -MP -MF a.o.d -MT a.o -c -o a.o a.c ) && ( printf '\n%s\n' 'a.o := gcc -MD -MP -MF a.o.d -MT a.o -c -o a.o a.c' >> a.o.d )
parseLineAsTool
Function return arguments: gcc -MD -MP -MF a.o.d -MT a.o -c -o a.o a.c )
@SeasClouds Are those parenthesis required?
Could you download the above, change the extension to .vsix, and let me know if that fixes your issue?
@gcampbell-msft This can solve the problem. Whether this method is not general enough, if it is other characters have to modify the code again
@gcampbell-msft The user have solved the problem by following the above methodology.
When processing dryrun.log, redundant ") "occurs, causing an error.
dryrun.log
![image](https://github.com/microsoft/vscode-makefile-tools/assets/44010231/30947070-9a17-4322-8bdc-25799bb6e6c0)
"dryrun.log" and dryRunOutputStr content is different.![image](https://github.com/microsoft/vscode-makefile-tools/assets/44010231/631a0998-a34f-4996-ad35-db10a15fc1c1)