On 12/21/22 07:43, Taylor Simpson wrote:
--- a/target/hexagon/idef-parser/idef-parser.y
+++ b/target/hexagon/idef-parser/idef-parser.y
@@ -99,6 +99,8 @@
  /* Input file containing the description of each hexagon instruction */  
input :
instructions
        {
+          // Suppress warning about unused yynerrs
+          (void) yynerrs;
            YYACCEPT;
        }
        ;

According to this page
https://qemu-project.gitlab.io/qemu/devel/style.html#comment-style
we should avoid // comments, and the checkpatch script will warn about this.  
However, checkpatch does not warn on this patch.

It does not process *.y.


r~

Reply via email to