From 87de634e307a977080886dcfe19f8233e3d8d3c0 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 20 Feb 2023 02:08:42 +0000 Subject: [PATCH] Updated version number to 1.0.0 --- source/toy_common.c | 19 +++++++++---------- source/toy_common.h | 6 +++--- test/scripts/lib/runner/sample_bytecode.tb | Bin 308 -> 308 bytes 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/source/toy_common.c b/source/toy_common.c index 42c1154..7e1f2ac 100644 --- a/source/toy_common.c +++ b/source/toy_common.c @@ -114,16 +114,15 @@ void Toy_usageCommandLine(int argc, const char* argv[]) { void Toy_helpCommandLine(int argc, const char* argv[]) { Toy_usageCommandLine(argc, argv); - printf("\t\t\tBinary input file in tb format, must be version %d.%d.%d.\n\n", TOY_VERSION_MAJOR, TOY_VERSION_MINOR, TOY_VERSION_PATCH); - printf("-h\t| --help\t\tShow this help then exit.\n\n"); - printf("-v\t| --version\t\tShow version and copyright information then exit.\n\n"); - printf("-d\t| --debug\t\tBe verbose when operating.\n\n"); - printf("-f\t| --file filename\tParse, compile and execute the source file.\n\n"); - printf("-i\t| --input source\tParse, compile and execute this given string of source code.\n\n"); - printf("-c\t| --compile filename\tParse and compile the specified source file into an output file.\n\n"); - printf("-o\t| --output outfile\tName of the output file built with --compile (default: out.tb).\n\n"); - printf("-t\t| --initial filename\tStart the repl as normal, after first running the given file.\n\n"); - printf("-n\t|\t\t\tDisable the newline character at the end of the print statement.\n\n"); + printf(" -h, --help\t\t\tShow this help then exit.\n"); + printf(" -v, --version\t\t\tShow version and copyright information then exit.\n"); + printf(" -d, --debug\t\t\tBe verbose when operating.\n"); + printf(" -f, --file filename\t\tParse, compile and execute the source file.\n"); + printf(" -i, --input source\t\tParse, compile and execute this given string of source code.\n"); + printf(" -c, --compile filename\tParse and compile the specified source file into an output file.\n"); + printf(" -o, --output outfile\t\tName of the output file built with --compile (default: out.tb).\n"); + printf(" -t, --initial filename\tStart the repl as normal, after first running the given file.\n"); + printf(" -n\t\t\t\tDisable the newline character at the end of the print statement.\n"); } void Toy_copyrightCommandLine(int argc, const char* argv[]) { diff --git a/source/toy_common.h b/source/toy_common.h index 9eb3d7b..fdc0117 100644 --- a/source/toy_common.h +++ b/source/toy_common.h @@ -4,9 +4,9 @@ #include #include -#define TOY_VERSION_MAJOR 0 -#define TOY_VERSION_MINOR 9 -#define TOY_VERSION_PATCH 2 +#define TOY_VERSION_MAJOR 1 +#define TOY_VERSION_MINOR 0 +#define TOY_VERSION_PATCH 0 #define TOY_VERSION_BUILD __DATE__ " " __TIME__ //platform/compiler-specific instructions diff --git a/test/scripts/lib/runner/sample_bytecode.tb b/test/scripts/lib/runner/sample_bytecode.tb index 8eecf527ec5cfc9b2ea32300325811f966187ba4..e391abbb74093bcb84bf7e8445b57717bd4e73e0 100644 GIT binary patch delta 32 mcmdnOw1r8Wk%7T2HA%t90Emo?6%3873{0$yjW&wQG6Dc`_XeT> delta 32 ncmdnOw1r8Wfs@fKHA%tHRKdu=$XLO^$ja2h%G6||xGW<8b9M&0