mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add --version and -V
This commit is contained in:
committed by
Christoffer Lerno
parent
729e26d37c
commit
87a91b25e5
@@ -5,7 +5,6 @@
|
||||
#include "compiler_tests/tests.h"
|
||||
#include "utils/lib.h"
|
||||
|
||||
static int version = 102;
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
// First setup memory
|
||||
@@ -13,7 +12,7 @@ int main(int argc, const char *argv[])
|
||||
|
||||
|
||||
|
||||
DEBUG_LOG("Version: %d", version);
|
||||
DEBUG_LOG("Version: %s", COMPILER_VERSION);
|
||||
|
||||
|
||||
// Parse arguments.
|
||||
|
||||
Reference in New Issue
Block a user