From e9896ef70fc3c203ef13f741aa036dad82540fbf Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 28 Oct 2024 02:48:55 +0100 Subject: Fixed minor intelligence issues --- std/generate_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/generate_map.py') diff --git a/std/generate_map.py b/std/generate_map.py index 251aaf8..3ae2d53 100755 --- a/std/generate_map.py +++ b/std/generate_map.py @@ -22,7 +22,7 @@ def list_defs(path, kind, prefix): res = res + list_defs(import_path, "import", new_prefix) elif ( line.startswith(":") - or line.startswith("#") + or line.startswith("# ") or line.strip() == "" or line[0].isspace() ): -- cgit v1.2.3