Ticket #44976

generate_packets.py: don't indent preprocessor directives

Eröffnet am: 2022-07-02 06:03 Letztes Update: 2022-07-03 21:34

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

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-Verlauf (3/4 Historien)

2022-07-02 06:03 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: don't indent preprocessor directives" created
2022-07-02 06:21 Aktualisiert von: alienvalkyrie
  • Lösung Update from Keine to Accepted
Kommentar

This patch also makes it so blank lines are no longer indented, something that I (mistakenly) thought had already been the case.

2022-07-03 21:34 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden