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 __sentinel__ = __sentinel__(0)
details: https://anonhg.NetBSD.org/src/rev/eaaf2a184eaf
branches: trunk
changeset: 946606:eaaf2a184eaf
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 04 17:56:04 2020 +0000
description:
__sentinel__ = __sentinel__(0)
diffstat:
usr.bin/xlint/lint1/cgram.y | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 9a130ccfb81c -r eaaf2a184eaf usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Fri Dec 04 14:51:46 2020 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Fri Dec 04 17:56:04 2020 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.105 2020/09/18 14:19:08 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.106 2020/12/04 17:56:04 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.105 2020/09/18 14:19:08 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.106 2020/12/04 17:56:04 christos Exp $");
#endif
#include <stdlib.h>
@@ -543,6 +543,7 @@
| T_AT_BOUNDED T_LPARN type_attribute_bounded_type
T_COMMA constant T_COMMA constant T_RPARN
| T_AT_SENTINEL T_LPARN constant T_RPARN
+ | T_AT_SENTINEL
| T_AT_FORMAT_ARG T_LPARN constant T_RPARN
| T_AT_NONNULL T_LPARN constant T_RPARN
| T_AT_MODE T_LPARN T_NAME T_RPARN
Home |
Main Index |
Thread Index |
Old Index