Re: yacc/bison error when building on OS X 10.10.5

Scott Stillwell <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Starting at line 277:

/*
=====================================================================
                    Functions prototypes
=====================================================================
*/


%}
%name-prefix "a4gl_yy"
%pure-parser
%start module
%union	  {



	char	str[1024];  /* This would core dump in CygWin on call to */
						/* yyparse in y.tab.c - 3100 in maximum. */

	struct expr_str *ptr;
	struct expr_str *xy_ptr[2];
	struct expr_str_list *ptr_list;
	char *sql_string;
	struct fh_field_entry *field_entry;
	struct fh_field_list *field_list;

Line 285 is 

%name-prefix “angle_yy”

Bison is 2.3, as seen:

aubit4glsrc  bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks,

Scott

> On Nov 23, 2015, at 10:16 AM, Mike Aubury <[email protected]> wrote:
> 
> Can you send me the contents of the "fgl.infx.yacc" - specifically -
> whats around line 285 ?
> I could also do with knowing what version of "bison" you are using
> 
> $ bison --version
> 
> 
> On 23 November 2015 at 15:41, Scott Stillwell <[email protected]> wrote:
>> Error received when ‘make’ing from either latest “relatively stable” source tarball or latest CVS.  Running Apple OS X 10.10.5 and several different versions of Xcode tried.
>> 
>> /usr/bin/make -C liblex/lex_esqlc
>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_lex_lib.h
>> make[3]: `../../incl/a4gl_API_lex_lib.h' is up to date.
>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_lex.h
>> make[3]: `../../incl/a4gl_API_lex.h' is up to date.
>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_parse_lib.h
>> make[3]: `../../incl/a4gl_API_parse_lib.h' is up to date.
>> /usr/bin/make -C ../../../compilers/4glc ../../incl/a4gl_API_parse.h
>> make[3]: `../../incl/a4gl_API_parse.h' is up to date.
>> /usr/bin/make -C ../../../compilers/4glc rules/generated/y.tab.c
>> /usr/bin/make -C rules
>> (cd generated; unset DEBUG; LANG=C LC_ALL=C /usr/bin/bison -y  -r all -d -v fgl.infx.yacc)
>> fgl.infx.yacc:285.14-22: syntax error, unexpected string, expecting =
>> make[4]: *** [generated/y.tab.c] Error 1
>> make[3]: *** [rules/generated/y.tab.c] Error 2
>> make[2]: *** [../../../compilers/4glc/rules/generated/y.tab.h] Error 2
>> make[1]: *** [/Users/scott/src/aubit4glsrc/plugins-1.2_38/libLEX_EC.bundle] Error 2
>> make: *** [corecompile] Error 2
>> 
>> Any other information needed, just ask.
>> 
>> Scott
>> ------------------------------------------------------------------------------
>> Go from Idea to Many App Stores Faster with Intel(R) XDK
>> Give your users amazing mobile app experiences with Intel(R) XDK.
>> Use one codebase in this all-in-one HTML5 development environment.
>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
>> http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
>> _______________________________________________
>> Aubit4gl-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.