From 27cd74e16c0842552defc9b26be0693e1f8d37c2 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Mon, 18 Jun 2018 00:05:31 -0500 Subject: [PATCH] Fix warning about extra ';' being ignored It is both present at the end of the #define and explicitly included after the define is called in the main code, leading to an expansion of `;;`. --- src/parse_grammar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse_grammar.h b/src/parse_grammar.h index 488bb9314..ce2344fdf 100644 --- a/src/parse_grammar.h +++ b/src/parse_grammar.h @@ -195,7 +195,7 @@ struct alternative {}; return detail::type_possible(); \ } \ static const production_element_t *resolve(const parse_token_t &, const parse_token_t &, \ - parse_node_tag_t *); + parse_node_tag_t *) // A job_list is a list of job_conjunctions, separated by semicolons or newlines DEF_ALT(job_list) {