Module Name:    src
Committed By:   christos
Date:           Sat Nov  9 19:54:09 UTC 2019

Modified Files:
        src/usr.bin/xlint/lint1: scan.l

Log Message:
Understand _Alignof


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/usr.bin/xlint/lint1/scan.l

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/xlint/lint1/scan.l
diff -u src/usr.bin/xlint/lint1/scan.l:1.90 src/usr.bin/xlint/lint1/scan.l:1.91
--- src/usr.bin/xlint/lint1/scan.l:1.90	Thu Sep  5 16:12:11 2019
+++ src/usr.bin/xlint/lint1/scan.l	Sat Nov  9 14:54:09 2019
@@ -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 @@ static	struct	kwtab {
 	{ "__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 },

Reply via email to