Relative Include path support in ZScript

Moderator: GZDoom Developers

User avatar
RicardoLuis0
Posts: 47
Joined: Tue Aug 21, 2018 9:31 pm
Discord: RicardoLuis0#1862
Github ID: RicardoLuis0
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)
Location: Brazil

Relative Include path support in ZScript

Post by RicardoLuis0 »

Additional code in zcc_parser.cpp::DoParse for resolving relative include paths.
I've tested it some, seems to work so far.
If there is a better way to get the current file path or any other suggestions, I'll surely improve it.

Pull Request
User avatar
Major Cooke
Posts: 8055
Joined: Sun Jan 28, 2007 3:55 pm

Re: Relative Include path support in ZScript

Post by Major Cooke »

It's been added.

Return to “Closed Feature Suggestions”