From d3fd75d0be4d0c57a9315c214dd9f5ba8b321e08 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 11 Aug 2024 23:00:33 +0800 Subject: [PATCH] ... --- include/pocketpy/interpreter/ceval.h | 4 ---- scripts/loc.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 include/pocketpy/interpreter/ceval.h diff --git a/include/pocketpy/interpreter/ceval.h b/include/pocketpy/interpreter/ceval.h deleted file mode 100644 index f7817d77..00000000 --- a/include/pocketpy/interpreter/ceval.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -#include "pocketpy/interpreter/vm.hpp" -// dummy header for ceval.cpp diff --git a/scripts/loc.py b/scripts/loc.py index 0ad56c15..9d30faf8 100644 --- a/scripts/loc.py +++ b/scripts/loc.py @@ -13,7 +13,7 @@ def get_loc_for_dir(path): loc_ex = 0 for root, dirs, files in os.walk(path): for file in files: - if file.endswith('.h') or file.endswith('.cpp') or file.endswith('.hpp'): + if file.endswith('.h') or file.endswith('.c') or file.endswith('.h'): _i = get_loc(os.path.join(root, file)) if file.startswith('_'): loc_ex += _i