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 fix __typeof



details:   https://anonhg.NetBSD.org/src/rev/91a8956b5d3d
branches:  trunk
changeset: 820117:91a8956b5d3d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 30 00:57:10 2016 +0000

description:
fix __typeof

diffstat:

 usr.bin/xlint/lint1/scan.l |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r db2d146d777c -r 91a8956b5d3d usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l        Fri Dec 30 00:36:41 2016 +0000
+++ b/usr.bin/xlint/lint1/scan.l        Fri Dec 30 00:57:10 2016 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: scan.l,v 1.73 2016/12/29 23:54:29 christos Exp $ */
+/* $NetBSD: scan.l,v 1.74 2016/12/30 00:57:10 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: scan.l,v 1.73 2016/12/29 23:54:29 christos Exp $");
+__RCSID("$NetBSD: scan.l,v 1.74 2016/12/30 00:57:10 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -270,7 +270,7 @@
        { "symbolrename", T_SYMBOLRENAME, 0,    0,      0,        0,0,0,0,2 },
        { "transparent_union",T_AT_TUNION,0,    0,      0,        0,0,1,1,5 },
        { "typedef",    T_SCLASS,       TYPEDEF, 0,     0,        0,0,0,0,1 },
-       { "typeof",     T_TYPEOF,       0,      0,      0,        0,0,1,0,5 },
+       { "typeof",     T_TYPEOF,       0,      0,      0,        0,0,1,0,7 },
        { "union",      T_SOU,          0,      UNION,  0,        0,0,0,0,1 },
        { "unsigned",   T_TYPE,         0,      UNSIGN, 0,        0,0,0,0,1 },
        { "unused",     T_AT_UNUSED,    0,      0,      0,        0,0,1,1,5 },



Home | Main Index | Thread Index | Old Index