bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maint: java: style: prefer 'int[] foo' to 'int foo[]'


From: Akim Demaille
Subject: maint: java: style: prefer 'int[] foo' to 'int foo[]'
Date: Sat, 4 Apr 2020 08:12:14 +0200

This is to make it easier to share tests with master.

commit cca8c734310fa32a8fe8ca0615b743797f6aad36
Author: Akim Demaille <address@hidden>
Date:   Sat Apr 4 08:03:17 2020 +0200

    java: style: prefer 'int[] foo' to 'int foo[]'
    
    * data/skeletons/java.m4 (b4_typed_parser_table_define): Here.

diff --git a/data/skeletons/java.m4 b/data/skeletons/java.m4
index 83e2ec6c..cb9c407e 100644
--- a/data/skeletons/java.m4
+++ b/data/skeletons/java.m4
@@ -109,7 +109,7 @@ m4_define([b4_null], [null])
 m4_define([b4_typed_parser_table_define],
 [m4_ifval([$4], [b4_comment([$4])
   ])dnl
-[private static final ]$1[ yy$2_[] = yy$2_init();
+[private static final ]$1[[] yy$2_ = yy$2_init();
   private static final ]$1[[] yy$2_init()
   {
     return new ]$1[[]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]