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 Understand _Alignof



details:   https://anonhg.NetBSD.org/src/rev/958a0f25e5a6
branches:  trunk
changeset: 465155:958a0f25e5a6
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 09 19:54:09 2019 +0000

description:
Understand _Alignof

diffstat:

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

diffs (27 lines):

diff -r 432a471bdf51 -r 958a0f25e5a6 usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l        Sat Nov 09 17:21:48 2019 +0000
+++ b/usr.bin/xlint/lint1/scan.l        Sat Nov 09 19:54:09 2019 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: scan.l,v 1.90 2019/09/05 20:12:11 christos Exp $ */
+/* $NetBSD: scan.l,v 1.91 2019/11/09 19:54:09 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.90 2019/09/05 20:12:11 christos Exp $");
+__RCSID("$NetBSD: scan.l,v 1.91 2019/11/09 19:54:09 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -210,6 +210,7 @@
        { "__uint128_t",T_TYPE,         0,      UINT128,0,        0,1,0,0,1 },
 #endif
        { "__thread",   T_QUAL,         0,      0,      THREAD,   0,0,1,0,1 },
+       { "_Alignof",   T_ALIGNOF,      0,      0,      0,        0,0,0,0,1 },
        { "_Bool",      T_TYPE,         0,      BOOL,   0,        0,1,0,0,1 },
        { "_Complex",   T_TYPE,         0,      COMPLEX,0,        0,1,0,0,1 },
        { "_Generic",   T_GENERIC,      0,      0,      0,        0,1,0,0,1 },



Home | Main Index | Thread Index | Old Index