Supporting #Include (And Other C Preprocessor Directives) - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Articles (https://www.frictionalgames.com/forum/forum-40.html) +---- Thread: Supporting #Include (And Other C Preprocessor Directives) (/thread-12023.html) Pages:
1
2
|
RE: Supporting #Include (And Other C Preprocessor Directives) - Apjjm - 05-07-2012 There is a bug in the preprocessor (source) with the -C (comments) flag, this will cause single lines with comments on the end to be deleted / commented out. The fix is simply to remove the switch from the batch file if you have already downloaded it. I am uploading a fixed version now too. This means comments won't be in the output file (but this shouldn't be an issue, as you will be editing files with comments in just fine). Fixed batch script: Code: @ECHO OFF Edit: First post updated with new link. |