SublimeKSP icon indicating copy to clipboard operation
SublimeKSP copied to clipboard

Enable importing .ksp files from folders (#400) broke some imports here (possible old math library related)

Open dxmachina opened this issue 1 year ago • 4 comments

This commit specifically broke code that I'm maintaining here, possibly only related to the import of the old Big Bob math library. https://github.com/nojanath/SublimeKSP/commit/63a497fd51c7365b9a1d9c3c0685a077375b49b7

The line is simply: import "KSPMathV702.ksp"

Yields: Syntax error! (line 2279) ../common/external/KSPMathV702.ksp:4625

Release 1.17.0 is fine

dxmachina avatar Mar 01 '24 15:03 dxmachina

Hmmm, I have some code that imports that same file in exactly the same way and it all works fine still... Weird!

mkruselj avatar Apr 01 '24 21:04 mkruselj

Wow, really? Hmm.

It's obviously easy enough just to use the right commit when I need to get back to that code, but I figured a lot of people are maintaining code with the same library.

I did try a bunch of path simplifying to make sure it wasn't that. This was all on macOS.

Will take another look when I have some time.

dxmachina avatar Apr 01 '24 21:04 dxmachina

Can you try with the very latest commit, please? Unsure if it'd fix but worth a shot I guess...

mkruselj avatar Apr 11 '24 13:04 mkruselj

Unfortunately, still an issue with the latest commit here. When I find some time I will see about debugging it here as well.

dxmachina avatar Apr 18 '24 18:04 dxmachina