This commit is contained in:
blueloveTH 2024-08-11 23:00:33 +08:00
parent 76c251fb7f
commit d3fd75d0be
2 changed files with 1 additions and 5 deletions

View File

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

View File

@ -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