[BACK]Return to lsym_binary_op.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/lsym_binary_op.c between version 1.4 and 1.5

version 1.4, 2022/04/23 09:35:26 version 1.5, 2022/04/24 09:04:12
Line 21 
Line 21 
  *      C99 6.4.6               "Punctuators"   *      C99 6.4.6               "Punctuators"
  */   */
   
 #indent input  //indent input
 void  void
 binary_operators(void)  binary_operators(void)
 {  {
Line 58  binary_operators(void)
Line 58  binary_operators(void)
         a |= a;          a |= a;
         a = a, a;          a = a, a;
 }  }
 #indent end  //indent end
   
 #indent run-equals-input  //indent run-equals-input
   
   
 /*  /*
  * If a '*' is immediately followed by another '*', they still form separate   * If a '*' is immediately followed by another '*', they still form separate
  * operators. The first is a binary operator, the second is unary.   * operators. The first is a binary operator, the second is unary.
  */   */
 #indent input  //indent input
 int var = expr**ptr;  int var = expr**ptr;
 #indent end  //indent end
   
 #indent run -di0  //indent run -di0
 int var = expr * *ptr;  int var = expr * *ptr;
 #indent end  //indent end

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

CVSweb <webmaster@jp.NetBSD.org>