esrille / escudo

The Escudo Web Browser
Apache License 2.0
68 stars 13 forks source link

Change name-prefix style to accept older bison #35

Closed Constellation closed 11 years ago

Constellation commented 11 years ago

Because bison shipped by OSX Xcode is old, %name-prefix "XXX" style is not supported.

http://lists.gnu.org/archive/html/help-bison/2009-10/msg00018.html

ShikiOkasaka commented 11 years ago

bison (GNU Bison) 2.3 :see_no_evil:

ShikiOkasaka commented 11 years ago

Do you think using the one that comes with macports is an option for many Mac developers? http://www.macports.org/ports.php?by=library&substr=bison

Constellation commented 11 years ago

IMO, installing bison by macports or homebrew is a nice way to solve this.

36 is solved too.

I suggest inserting bison version guard to configure.ac.

ShikiOkasaka commented 11 years ago

Sounds good. I guess software tools like bison can be used without much trouble from macports or homebrew.

Constellation commented 11 years ago

In my environment (homebrew), we can install bison 2.7 by executing following command.

brew install bison
# Because bison is provided by Xcode, `brew link` command is needed.
brew link bison --force 

And because installed directory is /usr/local, we can cleanup bison2.7 by executing brew uninstall bison.

ShikiOkasaka commented 11 years ago

+1 for using bison 2.7 on Mac OS X

Constellation commented 11 years ago

I've created #38. Closing this issue.