Added API macro to some functions

This commit is contained in:
2022-10-02 00:44:46 +01:00
parent 467cd8d978
commit 3460967e3b
5 changed files with 19 additions and 15 deletions

View File

@@ -228,7 +228,7 @@ int main(int argc, const char* argv[]) {
//TODO: remove this when the interpreter meets the specification
if (command.verbose) {
printf(WARN "Warning! This interpreter is a work in progress, it does not yet meet the %d.%d.%d specification.\n" RESET, TOY_VERSION_MAJOR, TOY_VERSION_MINOR, TOY_VERSION_PATCH);
printf(NOTICE "Toy Programming Language Version %d.%d.%d\n" RESET, TOY_VERSION_MAJOR, TOY_VERSION_MINOR, TOY_VERSION_PATCH);
}
//run source file