[BACK]Return to psym_for_exprs.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/tests/usr.bin/indent/psym_for_exprs.c between version 1.3 and 1.4

version 1.3, 2022/04/22 21:21:20 version 1.4, 2022/04/24 09:04:12
Line 6 
Line 6 
  * of the loop.   * of the loop.
  */   */
   
 #indent input  //indent input
 // TODO: add input  // TODO: add input
 #indent end  //indent end
   
 #indent run-equals-input  //indent run-equals-input
   
   
 /*  /*
  * Since C99, the first expression of a 'for' loop may be a declaration, not   * Since C99, the first expression of a 'for' loop may be a declaration, not
  * only an expression.   * only an expression.
  */   */
 #indent input  //indent input
 void  void
 function(void)  function(void)
 {  {
         for (int i = 0; i < 3; i++)          for (int i = 0; i < 3; i++)
                 stmt();                  stmt();
 }  }
 #indent end  //indent end
   
 #indent run-equals-input  //indent run-equals-input

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>