diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/bison | |
parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
download | ydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/bison')
-rw-r--r-- | contrib/tools/bison/bison/data/yacc.c | 14 | ||||
-rw-r--r-- | contrib/tools/bison/bison/src/scan-skel.c | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/tools/bison/bison/data/yacc.c b/contrib/tools/bison/bison/data/yacc.c index 45e0a87d5b..c18a9350cf 100644 --- a/contrib/tools/bison/bison/data/yacc.c +++ b/contrib/tools/bison/bison/data/yacc.c @@ -770,7 +770,7 @@ int yydebug; # define YYMAXDEPTH ]b4_stack_depth_max[ #endif]b4_lac_if([[ - + /* Given a state stack such that *YYBOTTOM is its bottom, such that *YYTOP is either its top or is YYTOP_EMPTY to indicate an empty stack, and such that *YYCAPACITY is the maximum number of elements it @@ -1054,11 +1054,11 @@ yy_lac (yytype_int16 *yyesa, yytype_int16 **yyes, backslash-backslash). YYSTR is taken from yytname. If YYRES is null, do not copy; instead, return the length of what the result would have been. */ -#ifdef __cplusplus -# define BISON_FALLTHROUGH [[fallthrough]] -#else -# define BISON_FALLTHROUGH -#endif +#ifdef __cplusplus +# define BISON_FALLTHROUGH [[fallthrough]] +#else +# define BISON_FALLTHROUGH +#endif static YYSIZE_T yytnamerr (char *yyres, const char *yystr) { @@ -1077,7 +1077,7 @@ yytnamerr (char *yyres, const char *yystr) case '\\': if (*++yyp != '\\') goto do_not_strip_quotes; - BISON_FALLTHROUGH; + BISON_FALLTHROUGH; default: if (yyres) yyres[yyn] = *yyp; diff --git a/contrib/tools/bison/bison/src/scan-skel.c b/contrib/tools/bison/bison/src/scan-skel.c index 63445a3872..1e116da14d 100644 --- a/contrib/tools/bison/bison/src/scan-skel.c +++ b/contrib/tools/bison/bison/src/scan-skel.c @@ -42,11 +42,11 @@ #endif /* %if-c++-only */ -#define BISON_FALLTHROUGH [[fallthrough]] +#define BISON_FALLTHROUGH [[fallthrough]] /* %endif */ /* %if-c-only */ -#define BISON_FALLTHROUGH +#define BISON_FALLTHROUGH /* %endif */ /* %if-c-only */ @@ -1619,7 +1619,7 @@ static int yy_get_next_buffer (void) /* Reset buffer status. */ skel_restart(skel_in ); - BISON_FALLTHROUGH; + BISON_FALLTHROUGH; case EOB_ACT_END_OF_FILE: { |