blueloveTH 1 anno fa
parent
commit
d3fd75d0be
2 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 0 4
      include/pocketpy/interpreter/ceval.h
  2. 1 1
      scripts/loc.py

+ 0 - 4
include/pocketpy/interpreter/ceval.h

@@ -1,4 +0,0 @@
-#pragma once
-
-#include "pocketpy/interpreter/vm.hpp"
-// dummy header for ceval.cpp

+ 1 - 1
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