#44976: generate_packets.py: don't indent preprocessor directives Open Date: 2022-07-01 23:03 Last Update: 2022-07-01 23:03 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44976 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44976 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-07-01 23:03 Updated by: alienvalkyrie * New Ticket "generate_packets.py: don't indent preprocessor directives" created --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Part of #43927. For better readability (and thus debuggability) of the generated code, preprocessor directives should not be indented (to keep in style with the non-generated codebase). Make the prefix() function not indent lines starting with a #. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44976 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44976