diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /contrib/tools/bison | |
parent | 980edcd3304699edf9d4e4d6a656e585028e2a72 (diff) | |
download | ydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/bison')
-rw-r--r-- | contrib/tools/bison/gnulib/platform/win64/config.h | 2 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/platform/win64/math.h | 12 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/platform/win64/stdint.h.disabled | 18 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/bison-system.h | 6 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/c-stack.c | 6 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/perror.c | 2 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/snprintf.c | 6 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/vasnprintf.c | 6 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/vasprintf.c | 6 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/xvasprintf.c | 6 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/ya.make | 12 |
11 files changed, 41 insertions, 41 deletions
diff --git a/contrib/tools/bison/gnulib/platform/win64/config.h b/contrib/tools/bison/gnulib/platform/win64/config.h index 51e6b982a2..cf3d366e18 100644 --- a/contrib/tools/bison/gnulib/platform/win64/config.h +++ b/contrib/tools/bison/gnulib/platform/win64/config.h @@ -911,7 +911,7 @@ /* #undef HAVE_SLEEP */ /* Define to 1 if you have the `snprintf' function. */ -#define HAVE_SNPRINTF 1 +#define HAVE_SNPRINTF 1 /* Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the diff --git a/contrib/tools/bison/gnulib/platform/win64/math.h b/contrib/tools/bison/gnulib/platform/win64/math.h index 04629dc036..b2a0023d11 100644 --- a/contrib/tools/bison/gnulib/platform/win64/math.h +++ b/contrib/tools/bison/gnulib/platform/win64/math.h @@ -34,8 +34,8 @@ #define _GL_M4_MATH_H #if _MSC_VER >= 1800 // [ -#else // ] _MSC_VER >= 1600 [ - +#else // ] _MSC_VER >= 1600 [ + #ifndef _GL_INLINE_HEADER_BEGIN #error "Please include config.h first." #endif @@ -1289,7 +1289,7 @@ _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. Store exp in *EXPPTR and return mantissa. */ -#if 0 +#if 0 # if 1 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define frexp rpl_frexp @@ -1314,7 +1314,7 @@ _GL_WARN_ON_USE (frexp, "frexp is unportable - " If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. Store exp in *EXPPTR and return mantissa. */ -#if 0 +#if 0 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef frexpl # define frexpl rpl_frexpl @@ -2593,7 +2593,7 @@ _GL_WARN_REAL_FLOATING_DECL (signbit); _GL_INLINE_HEADER_END -#endif - +#endif + #endif /* _GL_M4_MATH_H */ #endif /* _GL_M4_MATH_H */ diff --git a/contrib/tools/bison/gnulib/platform/win64/stdint.h.disabled b/contrib/tools/bison/gnulib/platform/win64/stdint.h.disabled index 4ca637e223..35ff0479f4 100644 --- a/contrib/tools/bison/gnulib/platform/win64/stdint.h.disabled +++ b/contrib/tools/bison/gnulib/platform/win64/stdint.h.disabled @@ -35,9 +35,9 @@ #endif // _MSC_VER ] -#ifndef _MSC_STDINT_H_ - -#if _MSC_VER >= 1600 +#ifndef _MSC_STDINT_H_ + +#if _MSC_VER >= 1600 # ifndef __clang__ # include <../include/stdint.h> # else @@ -45,11 +45,11 @@ # endif #endif -#ifndef _MSC_STDINT_H_ -#define _MSC_STDINT_H_ +#ifndef _MSC_STDINT_H_ +#define _MSC_STDINT_H_ + +#if _MSC_VER < 1600 -#if _MSC_VER < 1600 - #include <limits.h> // For Visual Studio 6 in C++ mode and for many Visual Studio versions when @@ -259,7 +259,7 @@ typedef uint64_t uintmax_t; #endif // __STDC_CONSTANT_MACROS ] -#endif // _MSC_VER < 1600 ] +#endif // _MSC_VER < 1600 ] #endif // _MSC_STDINT_H_ ] -#endif // _MSC_STDINT_H_ ] +#endif // _MSC_STDINT_H_ ] diff --git a/contrib/tools/bison/gnulib/src/bison-system.h b/contrib/tools/bison/gnulib/src/bison-system.h index c5efc92458..472a1921a7 100644 --- a/contrib/tools/bison/gnulib/src/bison-system.h +++ b/contrib/tools/bison/gnulib/src/bison-system.h @@ -53,10 +53,10 @@ (STRNCMP_LIT (S, Literal) == 0) # include <unistd.h> -#if (defined _MSC_VER) && (_MSC_VER < 1800) -#else +#if (defined _MSC_VER) && (_MSC_VER < 1800) +#else # include <inttypes.h> -#endif +#endif # ifndef UINTPTR_MAX /* This isn't perfect, but it's good enough for Bison, which needs diff --git a/contrib/tools/bison/gnulib/src/c-stack.c b/contrib/tools/bison/gnulib/src/c-stack.c index ac9076388a..b146cf254e 100644 --- a/contrib/tools/bison/gnulib/src/c-stack.c +++ b/contrib/tools/bison/gnulib/src/c-stack.c @@ -323,10 +323,10 @@ c_stack_action (void (*action) (int)) int c_stack_action (void (*action) (int) __attribute__ ((unused))) { -#if (defined _MSC_VER) && (_MSC_VER < 1800) -#else +#if (defined _MSC_VER) && (_MSC_VER < 1800) +#else errno = ENOTSUP; -#endif +#endif return -1; } diff --git a/contrib/tools/bison/gnulib/src/perror.c b/contrib/tools/bison/gnulib/src/perror.c index 3010a22287..74e088cc73 100644 --- a/contrib/tools/bison/gnulib/src/perror.c +++ b/contrib/tools/bison/gnulib/src/perror.c @@ -28,5 +28,5 @@ void perror (const char *string) { if (string != NULL && *string != '\0') - fprintf (stderr, "%s\n", string); + fprintf (stderr, "%s\n", string); } diff --git a/contrib/tools/bison/gnulib/src/snprintf.c b/contrib/tools/bison/gnulib/src/snprintf.c index d9b8d7ad20..9c34de3bb2 100644 --- a/contrib/tools/bison/gnulib/src/snprintf.c +++ b/contrib/tools/bison/gnulib/src/snprintf.c @@ -64,10 +64,10 @@ snprintf (char *str, size_t size, const char *format, ...) if (INT_MAX < len) { -#if (defined _MSC_VER) && (MSC_VER < 1800) -#else +#if (defined _MSC_VER) && (MSC_VER < 1800) +#else errno = EOVERFLOW; -#endif +#endif return -1; } diff --git a/contrib/tools/bison/gnulib/src/vasnprintf.c b/contrib/tools/bison/gnulib/src/vasnprintf.c index 7131504a9c..4de22819fa 100644 --- a/contrib/tools/bison/gnulib/src/vasnprintf.c +++ b/contrib/tools/bison/gnulib/src/vasnprintf.c @@ -5575,10 +5575,10 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); -#if (defined _MSC_VER) && (_MSC_VER < 1800) -#else +#if (defined _MSC_VER) && (_MSC_VER < 1800) +#else errno = EOVERFLOW; -#endif +#endif return NULL; #endif diff --git a/contrib/tools/bison/gnulib/src/vasprintf.c b/contrib/tools/bison/gnulib/src/vasprintf.c index 4382cacd5c..afc8056194 100644 --- a/contrib/tools/bison/gnulib/src/vasprintf.c +++ b/contrib/tools/bison/gnulib/src/vasprintf.c @@ -40,10 +40,10 @@ vasprintf (char **resultp, const char *format, va_list args) if (length > INT_MAX) { free (result); -#if (defined _MSC_VER) && (_MSC_VER < 1800) -#else +#if (defined _MSC_VER) && (_MSC_VER < 1800) +#else errno = EOVERFLOW; -#endif +#endif return -1; } diff --git a/contrib/tools/bison/gnulib/src/xvasprintf.c b/contrib/tools/bison/gnulib/src/xvasprintf.c index ba1a157293..9c93492b80 100644 --- a/contrib/tools/bison/gnulib/src/xvasprintf.c +++ b/contrib/tools/bison/gnulib/src/xvasprintf.c @@ -53,10 +53,10 @@ xstrcat (size_t argcount, va_list args) vasprintf(). */ if (totalsize == SIZE_MAX || totalsize > INT_MAX) { -#if (defined _MSC_VER) && (_MSC_VER < 1800) -#else +#if (defined _MSC_VER) && (_MSC_VER < 1800) +#else errno = EOVERFLOW; -#endif +#endif return NULL; } diff --git a/contrib/tools/bison/gnulib/ya.make b/contrib/tools/bison/gnulib/ya.make index 986ae6e4be..b674fd9ada 100644 --- a/contrib/tools/bison/gnulib/ya.make +++ b/contrib/tools/bison/gnulib/ya.make @@ -184,13 +184,13 @@ IF (NOT OS_LINUX) ENDIF() IF (NOT OS_WINDOWS) - SRCS( - src/stdio-write.c - ) + SRCS( + src/stdio-write.c + ) ENDIF() - + IF (OS_WINDOWS) - SRCS( + SRCS( src/frexp.c src/wcrtomb.c src/perror.c @@ -225,7 +225,7 @@ IF (OS_WINDOWS) src/waitpid.c src/wcwidth.c src/uniwidth/width.c - ) + ) ENDIF() IF (NOT OS_LINUX OR MUSL) |