[webkit-reviews] [PATCH] JavaScriptCore with bison 2.0

Toby Peterson toby at opendarwin.org
Tue Jun 7 01:52:58 PDT 2005


JavaScriptCore needs some slight fixes to work with bison 2.0. First,  
it needs a change to grammar.y, corresponding to KJS r264134: http:// 
websvn.kde.org/trunk/kdelibs/kjs/grammar.y? 
rev=264134&r1=263949&r2=264134

Second, bison 2.0 generates a different filename (grammar.hpp instead  
of grammar.cpp.h). My solution's a little nasty, but it works. It's  
worth noting that the output filename is configurable on bison 2.0,  
e.g. --defines=grammar.cpp.h, but this would break bison 1.28.

Patch is attached.

- Toby
toby@(opendarwin.org|apple.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bison-2.0.diff
Type: application/octet-stream
Size: 1338 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/webkit-reviews/attachments/20050607/1e10bc3c/bison-2.0.obj


More information about the webkit-reviews mailing list