diff options
author | kakabba <kakabba@yandex-team.ru> | 2022-02-10 16:46:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:04 +0300 |
commit | c8e3995898c443e78266f7420aac5fb3da15d413 (patch) | |
tree | a530e068cc107e227deccc80722204db63a4d75d /contrib/tools/bison | |
parent | 110a978b66fe6c0916572df51cfead2a9b647174 (diff) | |
download | ydb-c8e3995898c443e78266f7420aac5fb3da15d413.tar.gz |
Restoring authorship annotation for <kakabba@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/bison')
-rw-r--r-- | contrib/tools/bison/bison/src/files.c | 4 | ||||
-rw-r--r-- | contrib/tools/bison/bison/src/output.c | 12 | ||||
-rw-r--r-- | contrib/tools/bison/bison/ya.make | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/contrib/tools/bison/bison/src/files.c b/contrib/tools/bison/bison/src/files.c index 3b219229bc..82ed2b56e8 100644 --- a/contrib/tools/bison/bison/src/files.c +++ b/contrib/tools/bison/bison/src/files.c @@ -89,9 +89,9 @@ static char *header_extension = NULL; | STR1, and STR2. | `-----------------------------------------------------------------*/ -#if defined _win_ || defined _WIN64 || defined _WIN32 || defined __WIN32__ +#if defined _win_ || defined _WIN64 || defined _WIN32 || defined __WIN32__ char *stpcpy(char *dst, const char *src); -#endif +#endif static char * concat2 (char const *str1, char const *str2) diff --git a/contrib/tools/bison/bison/src/output.c b/contrib/tools/bison/bison/src/output.c index 61376ba390..20dfe088b2 100644 --- a/contrib/tools/bison/bison/src/output.c +++ b/contrib/tools/bison/bison/src/output.c @@ -51,16 +51,16 @@ #endif #ifndef PKGDATADIR -#define STR(a) XSTR(a) -#define XSTR(a) #a - +#define STR(a) XSTR(a) +#define XSTR(a) #a + const char* default_pkgdatadir() { - const char* arc_path = getenv("ARCADIA_ROOT_DISTBUILD"); - if (arc_path == NULL) + const char* arc_path = getenv("ARCADIA_ROOT_DISTBUILD"); + if (arc_path == NULL) arc_path = ArcadiaRoot(); - return uniqstr_vsprintf("%s/" STR(BISON_DATA_DIR), arc_path); + return uniqstr_vsprintf("%s/" STR(BISON_DATA_DIR), arc_path); } #define PKGDATADIR (default_pkgdatadir()) #endif diff --git a/contrib/tools/bison/bison/ya.make b/contrib/tools/bison/bison/ya.make index 04f8ae3758..2676031b81 100644 --- a/contrib/tools/bison/bison/ya.make +++ b/contrib/tools/bison/bison/ya.make @@ -59,7 +59,7 @@ SRCS( CFLAGS( -Daccept=bison_accept - -DBISON_DATA_DIR="contrib/tools/bison/bison/data" + -DBISON_DATA_DIR="contrib/tools/bison/bison/data" ) PEERDIR( |