jscript: Fix compilation with older bison (Mac OS X).

Francois Gouget fgouget at codeweavers.com
Sun Sep 7 18:22:45 CDT 2008


Mac OS X (Leopard) has an older bison (1.28) which systematically 
defines the YYSTYPE union in the generated header file. This means the 
types it contains must always be defined. So use the struct pointers 
instead of the typedefs so we don't have to move the type definitions 
around (besides all we need is the pointers here).

  dlls/jscript/parser.y |   28 ++++++++++++++--------------
  1 files changed, 14 insertions(+), 14 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7f70ca51add7c888a33190a4ad53e49136e1d1c0.diff
Type: text/x-patch
Size: 3666 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080908/d076c211/attachment.bin 

More information about the wine-patches mailing list