diff --git a/Subsystems/cmdGui/CHeaderParser.py b/Subsystems/cmdGui/CHeaderParser.py index 439c701..97e2ef8 100644 --- a/Subsystems/cmdGui/CHeaderParser.py +++ b/Subsystems/cmdGui/CHeaderParser.py @@ -311,6 +311,10 @@ def get_file_list(filename='CHeaderParser-hdr-paths.txt'): # Now that we know the struct is over, add list of lines # to the sets of command structures list_cmd_structs.append(lines_of_struct) + + # Advance past the closing brace line so the + # outer loop does not reprocess it (fixes #219) + line_num += 1 break # Add line number to list