From fe94828fe4e0152f03a3c834db1309ecda200e63 Mon Sep 17 00:00:00 2001 From: Taus Date: Fri, 10 Apr 2026 14:23:29 +0000 Subject: [PATCH] Python: Add overlay annotations to AST template Otherwise these will disappear every time we regenerate the AST. --- python/extractor/semmle/query_gen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/extractor/semmle/query_gen.py b/python/extractor/semmle/query_gen.py index b3fc2442e8a..e7f9d280ad1 100644 --- a/python/extractor/semmle/query_gen.py +++ b/python/extractor/semmle/query_gen.py @@ -211,6 +211,8 @@ HEADER = '''/** * WARNING: Any modifications to this file will be lost. * Relations can be changed by modifying master.py. */ +overlay[local] +module; ''' def main():