Module Name:    src
Committed By:   christos
Date:           Mon Sep  3 15:16:33 UTC 2018

Modified Files:
        src/usr.bin/xlint/lint1: cgram.y

Log Message:
support deprecated("string") for libpcap


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/xlint/lint1/cgram.y

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/cgram.y
diff -u src/usr.bin/xlint/lint1/cgram.y:1.97 src/usr.bin/xlint/lint1/cgram.y:1.98
--- src/usr.bin/xlint/lint1/cgram.y:1.97	Sun Jul  8 13:48:42 2018
+++ src/usr.bin/xlint/lint1/cgram.y	Mon Sep  3 11:16:33 2018
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.97 2018/07/08 17:48:42 christos Exp $ */
+/* $NetBSD: cgram.y,v 1.98 2018/09/03 15:16:33 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.97 2018/07/08 17:48:42 christos Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.98 2018/09/03 15:16:33 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -523,8 +523,10 @@ type_attribute_bounded_type:
 	| T_AT_BUFFER
 	;
 
+
 type_attribute_spec:
 	  /* empty */	
+	| T_AT_DEPRECATED T_LPARN string T_RPARN
 	| T_AT_DEPRECATED
 	| T_AT_ALIGNED T_LPARN constant T_RPARN
 	| T_AT_BOUNDED T_LPARN type_attribute_bounded_type

Reply via email to