Home | History | Annotate | Line # | Download | only in indent
psym_if_expr_stmt_else.c revision 1.2
      1  1.2  rillig /* $NetBSD: psym_if_expr_stmt_else.c,v 1.2 2022/04/22 21:21:20 rillig Exp $ */
      2  1.1  rillig 
      3  1.1  rillig /*
      4  1.1  rillig  * Tests for the parser symbol psym_if_expr_stmt_else, which represents the
      5  1.1  rillig  * parser state after reading the keyword 'if', the controlling expression,
      6  1.1  rillig  * the statement of the 'then' branch and the keyword 'else'.  If the next
      7  1.1  rillig  * token is an 'if', the formatting depends on the option '-ei' or '-nei'.  In
      8  1.1  rillig  * all other situations, the next statement will finish the 'if' statement.
      9  1.1  rillig  */
     10  1.1  rillig 
     11  1.1  rillig #indent input
     12  1.1  rillig // TODO: add input
     13  1.1  rillig #indent end
     14  1.1  rillig 
     15  1.1  rillig #indent run-equals-input
     16