/* // comment-intro
 * // c (multi-line comment)
 * Explication de l'indentation Emacs.
 * 
 * C-c C-s : Affiche les infos sur l'indentation.
 * C-c C-o : Modifie l'option courante l'indentation.
 *
 * HaypoStyle =
 * c-basic-offset = 2
 * substatement-open = 0
 */

// cpp-macro
#define MACRO(a,b) (a)+(b)\
  +(a) // cpp-macro-cont

int main(int argc,
	 char **argv) // arglist-cont-nonempty
{
  int a; // defun-block-intro
  const char *txt;

  enum
  { // brace-list-open
    NOMBRE,   // brace-list-intro
    CARACTERE // brace-list-entry
  } TypeElement; // brace-list-close

  a = 8
    +1; // statement-cont

  do
  {
    a--;
  } 
  while (0); // do-while-closure

  txt = "texte \
qui tient sur plusieurs lignes"; // string

  switch (a)
  { // substatement-open
    // Commentaire // comment-intro
  case 0: // case-label    
    a++; // statement-case-intro
    break;
  default: a=1;
  }

  printf ("a = %i\n",
	  a); // arglist-cont-nonempty
  
  if (a)
  { // substatement-open
    a = 0; // statement-block-intro
  } // block-close
  else // else-clause
  { // substatement-open
    a = 1; // statement-block-intro
  } // block-close
} // defun-close
