From a8d1239b46f922fb01d2cf053294d42a694e2800 Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Mon, 14 Sep 2015 16:04:42 +1000 Subject: [PATCH] Rename arifmetic.{cpp,h} to builtin.{cpp,h} --- src/{arifmetic.cpp => builtin.cpp} | 0 src/{arifmetic.h => builtin.h} | 0 src/init.cpp | 4 ++-- src/init.h | 2 +- src/main.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/{arifmetic.cpp => builtin.cpp} (100%) rename src/{arifmetic.h => builtin.h} (100%) 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, "<