[ASMXYGEN] Only execute code on direct script execution

git-svn-id: svn://kolibrios.org@9401 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2021-12-05 14:51:26 +00:00
parent 4da474f427
commit bdebc82262

View File

@ -960,6 +960,7 @@ def handle_file(handled_files, asm_file_name, subdir = "."):
if should_get_declarations and not clean_generated_stuff:
get_declarations(asm_file_contents, asm_file_name)
if __name__ == "__main__":
link_root = "http://websvn.kolibrios.org/filedetails.php?repname=Kolibri+OS&path=/kernel/trunk"
# Dict where an identifier is assicoated with a string