You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jo...@apache.org on 2021/11/08 16:53:19 UTC

[incubator-age] branch master updated: fix to allow compilation on mac os x (#82)

This is an automated email from the ASF dual-hosted git repository.

joshinnis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b89996   fix to allow compilation on mac os x (#82)
6b89996 is described below

commit 6b899967a24cc1a8ed13e6ebaf5b8316f0aa5632
Author: Dmitriy Dorofeev <di...@yasp.com>
AuthorDate: Mon Nov 8 19:53:12 2021 +0300

     fix to allow compilation on mac os x (#82)
---
 src/backend/parser/cypher_parser.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/backend/parser/cypher_parser.c b/src/backend/parser/cypher_parser.c
index 68bb728..8dd53df 100644
--- a/src/backend/parser/cypher_parser.c
+++ b/src/backend/parser/cypher_parser.c
@@ -120,6 +120,9 @@ void cypher_yyerror(YYLTYPE *llocp, ag_scanner_t scanner,
                     ag_scanner_errposition(*llocp, scanner)));
 }
 
+/* declaration to make mac os x compiler happy */
+int cypher_yyparse(ag_scanner_t scanner, cypher_yy_extra *extra);
+
 List *parse_cypher(const char *s)
 {
     ag_scanner_t scanner;