INNER CODE UNIT · Python

p

HyperionGameTech/HyperionEngine · Tools/Scripts/Misc/rename_files.py:39

        p = Path(d) / upper_camel_case
        # print("{}  ->  {}".format(f, p))

        to_rename[f] = p

        print("Find all includes...")

        opened_file = open(f, 'r')

        line_num = 0

        for line in opened_file.readlines():
            line_num += 1

            if not line.startswith('#include'):
                continue
            
            x = re.search("#include [<\"](.*)[>\"]", line)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…