Adjusted some includes

This commit is contained in:
2022-08-06 06:16:14 +01:00
parent 6b33895f75
commit 0048c92cf5
8 changed files with 103 additions and 106 deletions

View File

@@ -7,5 +7,23 @@
#define TOY_VERSION_MAJOR 0
#define TOY_VERSION_MINOR 6
#define TOY_VERSION_PATCH 0
#define TOY_VERSION_BUILD __DATE__ ";" __TIME__
#define TOY_VERSION_BUILD __DATE__ " " __TIME__
//for processing the command line arguments
typedef struct {
bool error;
bool help;
bool version;
char* filename;
char* source;
bool verbose;
int optimize;
} Command;
extern Command command;
void initCommand(int argc, const char* argv[]);
void usageCommand(int argc, const char* argv[]);
void helpCommand(int argc, const char* argv[]);
void copyrightCommand(int argc, const char* argv[]);