diff --git a/src/arifmetic.cpp b/src/builtin.cpp similarity index 100% rename from src/arifmetic.cpp rename to src/builtin.cpp diff --git a/src/arifmetic.h b/src/builtin.h similarity index 100% rename from src/arifmetic.h rename to src/builtin.h diff --git a/src/init.cpp b/src/init.cpp index 5b8ca99..e3c775f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -3,7 +3,7 @@ #include "debug.h" #include "object.h" #include "globals.h" -#include "arifmetic.h" +#include "builtin.h" #include "parser/parser.h" // We can't include lexical.h before grammatical.h, because of strange errors, but grammatical.h only needs definition of yyscan_t #ifndef YY_TYPEDEF_YY_SCANNER_T @@ -80,7 +80,7 @@ int ParseConfigFile(const char* config) } -int RegisterArifmeticFunctions() +int RegisterBuiltinFunctions() { RegisterFunction("ADD",Arifm_Add); RegisterFunction("SUB",Arifm_Sub); diff --git a/src/init.h b/src/init.h index 8f34fae..40cb75f 100644 --- a/src/init.h +++ b/src/init.h @@ -12,7 +12,7 @@ struct program_options int ParseOptions(int argc, char** argv, struct program_options& options); int ParseConfigFile(const char* config); -int RegisterArifmeticFunctions(); +int RegisterBuiltinFunctions(); int BuildDepTree(DepTree* deptree, UsedType& used); int CheckFunctions(); void DumpConfig(); diff --git a/src/main.cpp b/src/main.cpp index 0987e95..e7c1a3b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) COUT(INFO)<<(tot-G_vars.size())<<" removed, "<