mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
a11a3cd203
Add with DEPRECATED but without EXPIRATION_DATE because it is not recommended for use in new projects. We still add this port because there is needed for building GNU FriBidi from git snapshot. PR: 226915 Submitted by: Ting-Wei Lan <lantw44@gmail.com>
23 lines
515 B
Plaintext
23 lines
515 B
Plaintext
--- grammar.y.orig 1998-09-30 01:29:13 UTC
|
|
+++ grammar.y
|
|
@@ -14,7 +14,7 @@
|
|
%token T_INLINE
|
|
|
|
/* type specifiers */
|
|
-%token T_CHAR T_DOUBLE T_FLOAT T_INT T_VOID
|
|
+%token T_CHAR T_DOUBLE T_FLOAT T_INT T_VOID T_VALIST
|
|
%token T_LONG T_SHORT T_SIGNED T_UNSIGNED
|
|
%token T_ENUM T_STRUCT T_UNION
|
|
|
|
@@ -374,6 +374,10 @@ type_specifier
|
|
{
|
|
new_decl_spec(&$$, "void", DS_NONE);
|
|
}
|
|
+ | T_VALIST
|
|
+ {
|
|
+ new_decl_spec(&$$, "va_list", DS_NONE);
|
|
+ }
|
|
| struct_or_union_specifier
|
|
| enum_specifier
|
|
| T_TYPEDEF_NAME
|