🔨 Fix schema.py ; Add build_example --index=N

This commit is contained in:
Scott Lahteine 2024-11-26 21:11:03 -06:00
parent 37f490fdd0
commit 2b39e51a40
2 changed files with 8 additions and 4 deletions

View file

@ -173,8 +173,7 @@ def extract_files(filekey):
comment_buff = []
if cline != '':
# A (block or slash) comment was already added
if 'comment' in last_added_ref:
cfield = 'notes'
cfield = 'notes' if 'comment' in last_added_ref else 'comment'
last_added_ref[cfield] = cline
#