Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 the next symbol should be a type.



details:   https://anonhg.NetBSD.org/src/rev/81c689503db4
branches:  trunk
changeset: 340994:81c689503db4
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 13 20:49:39 2015 +0000

description:
the next symbol should be a type.

diffstat:

 usr.bin/xlint/lint1/cgram.y |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 99d088aea7fa -r 81c689503db4 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y       Tue Oct 13 20:25:21 2015 +0000
+++ b/usr.bin/xlint/lint1/cgram.y       Tue Oct 13 20:49:39 2015 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.73 2015/10/13 20:25:21 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.74 2015/10/13 20:49:39 christos Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.73 2015/10/13 20:25:21 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.74 2015/10/13 20:49:39 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -706,7 +706,7 @@
                $$ = $4;
          }
        | noclass_declmods deftyp {
-               symtyp = FMOS;
+               symtyp = FVFT;
                /* struct or union member must be named */
                if (!Sflag)
                        warning(49);
@@ -715,7 +715,7 @@
                anonymize($$);
          }
        | noclass_declspecs deftyp {
-               symtyp = FMOS;
+               symtyp = FVFT;
                /* struct or union member must be named */
                if (!Sflag)
                        warning(49);



Home | Main Index | Thread Index | Old Index