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 decorators for __thread, add _Thread...
details: https://anonhg.NetBSD.org/src/rev/c3e485f69950
branches: trunk
changeset: 459345:c3e485f69950
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 05 20:12:11 2019 +0000
description:
Fix decorators for __thread, add _Thread_local
christos
diffstat:
usr.bin/xlint/lint1/scan.l | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 4505ab287ce0 -r c3e485f69950 usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l Thu Sep 05 19:37:46 2019 +0000
+++ b/usr.bin/xlint/lint1/scan.l Thu Sep 05 20:12:11 2019 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: scan.l,v 1.89 2019/03/04 17:45:16 christos Exp $ */
+/* $NetBSD: scan.l,v 1.90 2019/09/05 20:12:11 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.89 2019/03/04 17:45:16 christos Exp $");
+__RCSID("$NetBSD: scan.l,v 1.90 2019/09/05 20:12:11 christos Exp $");
#endif
#include <stdlib.h>
@@ -209,11 +209,12 @@
{ "__int128_t", T_TYPE, 0, INT128, 0, 0,1,0,0,1 },
{ "__uint128_t",T_TYPE, 0, UINT128,0, 0,1,0,0,1 },
#endif
- { "__thread", T_QUAL, 0, 0, THREAD, 0,0,1,0,7 },
+ { "__thread", T_QUAL, 0, 0, THREAD, 0,0,1,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 },
{ "_Noreturn", T_NORETURN, 0, 0, 0, 0,1,0,0,1 },
+ { "_Thread_local",T_QUAL, 0, 0, THREAD, 0,1,0,0,1 },
{ "alias", T_AT_ALIAS, 0, 0, 0, 0,0,1,1,5 },
{ "aligned", T_AT_ALIGNED, 0, 0, 0, 0,0,1,1,5 },
{ "alignof", T_ALIGNOF, 0, 0, 0, 0,0,0,0,4 },
Home |
Main Index |
Thread Index |
Old Index