Add function to get residue start and end
[gromacs.git] / src / gromacs / selection / parser.patch
blob1a9630b81baa72aefd53ffee93f6fa1e8a449b8b
1 --- parser.h 2018-08-12 14:27:05.680844826 -0700
2 +++ parser.h 2018-08-12 14:23:36.936847674 -0700
3 @@ -177,7 +177,7 @@
5 int _gmx_sel_yypush_parse (_gmx_sel_yypstate *ps, int pushed_char, YYSTYPE const *pushed_val, YYLTYPE *pushed_loc, void *scanner);
7 -_gmx_sel_yypstate * _gmx_sel_yypstate_new (void);
8 +_gmx_sel_yypstate * _gmx_sel_yypstate_new ();
9 void _gmx_sel_yypstate_delete (_gmx_sel_yypstate *ps);
11 #endif /* !YY__GMX_SEL_YY_PARSER_H_INCLUDED */
12 --- parser.cpp 2014-11-03 06:56:28.000000000 +0200
13 +++ parser.cpp 2014-11-03 06:57:35.000000000 +0200
14 @@ -437,7 +437,7 @@
17 #if (! defined yyoverflow \
18 - && (! defined __cplusplus \
19 + && (! defined __cplusplus || defined GMX_YYFORCE_C_STACK_EXTENSION \
20 || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \
21 && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
23 @@ -955,7 +955,7 @@
24 static void
25 yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, void *scanner)
27 - FILE *yyo = yyoutput;
28 + FILE *yyo gmx_unused = yyoutput;
29 YYUSE (yyo);
30 YYUSE (yylocationp);
31 YYUSE (scanner);