[BACK]Return to token_decl.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/Attic/token_decl.c between version 1.2 and 1.3

version 1.2, 2022/04/22 21:21:20 version 1.3, 2022/04/24 09:04:12
Line 8 
Line 8 
  * Declarations can be for functions or for variables.   * Declarations can be for functions or for variables.
  */   */
   
 #indent input  //indent input
 int global_var;  int global_var;
 int global_array = [1,2,3,4];  int global_array = [1,2,3,4];
 int global_array = [  int global_array = [
Line 17  int global_array = [
Line 17  int global_array = [
 3,  3,
 4,  4,
 ];  ];
 #indent end  //indent end
   
 #indent run -di0  //indent run -di0
 int global_var;  int global_var;
 int global_array = [1, 2, 3, 4];  int global_array = [1, 2, 3, 4];
 int global_array = [  int global_array = [
Line 28  int global_array = [
Line 28  int global_array = [
                     3,                      3,
                     4,                      4,
 ];  ];
 #indent end  //indent end

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

CVSweb <webmaster@jp.NetBSD.org>