public: add optional feature for COM_ParseFileSafe to ignore shell like hash symbol prefixed comments

This commit is contained in:
Alibek Omarov
2024-11-18 13:25:00 +03:00
parent 87f0217588
commit fa272d9d93
5 changed files with 48 additions and 26 deletions

View File

@@ -36,6 +36,7 @@ typedef int HIMAGE; // handle to a graphic
// flags for COM_ParseFileSafe
#define PFILE_IGNOREBRACKET (1<<0)
#define PFILE_HANDLECOLON (1<<1)
#define PFILE_IGNOREHASHCMT (1<<2)
typedef struct ui_globalvars_s
{