Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postgres/src/tools/pg_bsd_indent/tests/   (Postgres Database Version 18.4©)  Datei vom 11.4.2026 mit Größe 577 B image not shown  

Quelle  elsecomment.0.stdout   Sprache: unbekannt

 
Spracherkennung für: .stdout vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* $FreeBSD$ */
/* See r303484 and r309342 */
void
t(void)
{
 /* The two if statements below exercise two different code paths. */

 if (1)   /* a */
  int  a;
 else   /* b */
  int  b;

 if (1)   /* a */
  int  a;
 else   /* b */
  int  b;

 if (1)
 {

 }



 /* Old indent would remove the 3 blank lines above, awaiting "else". */

 if (1)
 {
  int  a;
 } else if (0)
 {
  int  b;
 }
 /* test */
 else
  ;

 if (1)
  ;
 else   /* Old indent would get very confused here */
  /* We also mustn't assume that there's only one comment */
  /* before the left brace. */
 {


 }
}

[Dauer der Verarbeitung: 0.14 Sekunden, vorverarbeitet 2026-08-09]