summaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/lib/printf-args.c
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2024-08-04 11:38:26 +0300
committerthegeorg <[email protected]>2024-08-04 11:50:56 +0300
commitad701999eb5b93914c402b833230cf5f25958d46 (patch)
treec90ad21f5f2b35d8db8c2f75a651bbe63ec1d6ef /contrib/tools/bison/lib/printf-args.c
parent8744db6c4910e07c48a536a49886d2601c4fe6c6 (diff)
Update contrib/tools/bison to 3.5.4
3.4.2 build is broken in NixOS, hence 3.3.x is updated to 3.5.y. 61a027adbe6cc0b27392bf3980c328640fd0ba69
Diffstat (limited to 'contrib/tools/bison/lib/printf-args.c')
-rw-r--r--contrib/tools/bison/lib/printf-args.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/tools/bison/lib/printf-args.c b/contrib/tools/bison/lib/printf-args.c
index e45cfbede10..943b77c23ce 100644
--- a/contrib/tools/bison/lib/printf-args.c
+++ b/contrib/tools/bison/lib/printf-args.c
@@ -1,5 +1,5 @@
/* Decomposed printf argument list.
- Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2019 Free Software
+ Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2020 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -65,14 +65,12 @@ PRINTF_FETCHARGS (va_list args, arguments *a)
case TYPE_ULONGINT:
ap->a.a_ulongint = va_arg (args, unsigned long int);
break;
-#if HAVE_LONG_LONG_INT
case TYPE_LONGLONGINT:
ap->a.a_longlongint = va_arg (args, long long int);
break;
case TYPE_ULONGLONGINT:
ap->a.a_ulonglongint = va_arg (args, unsigned long long int);
break;
-#endif
case TYPE_DOUBLE:
ap->a.a_double = va_arg (args, double);
break;
@@ -135,11 +133,9 @@ PRINTF_FETCHARGS (va_list args, arguments *a)
case TYPE_COUNT_LONGINT_POINTER:
ap->a.a_count_longint_pointer = va_arg (args, long int *);
break;
-#if HAVE_LONG_LONG_INT
case TYPE_COUNT_LONGLONGINT_POINTER:
ap->a.a_count_longlongint_pointer = va_arg (args, long long int *);
break;
-#endif
#if ENABLE_UNISTDIO
/* The unistdio extensions. */
case TYPE_U8_STRING: