i dont know the exact way of hollywood parser works, but i had the feeling of something very simple likeairsoftsoftwair wrote: ↑Sun May 10, 2020 11:46 am
Yes, definitely. I understand plouf's proposal now but this is tricky to implement because obviously the main file has to be parsed first but if there was something like @MAINFILE, the parser would have to stop parsing the current file and then restart parsing in the main file etc.
if found @MAINFILE
run("parser.exe %sameargs -nomainfile")
i am the only one working with includes and include files are topic based ?Sounds like a lot of work for little gain so it's probably not worth the hassle. Maybe just use an IDE that has project/workspace management like Clydos' extension for VS Code
i run the problem almost every time, had to click mainfile then F5
additional when program fail, ide open itself the "problematic" file1.hws, i fix it then click back main.hsx f5 and so on
do you do something better/more optimal !? (excluding the fact that you are writing ALWAYS proper code )