diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2004-02-16 20:27:40 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2004-02-16 20:27:40 +0000 |
commit | 1fd33325e0ec5c0de0c29643e96c30ebc6a21809 (patch) | |
tree | af3bba8373a8b2e4f2caf9da64398b6aba15a317 /perl.h | |
parent | 565440fe75df655888f197a8ed4cce3cd10ef2fb (diff) | |
download | perl-1fd33325e0ec5c0de0c29643e96c30ebc6a21809.tar.gz |
Fix for Win32 build failure caused by the byacc to bison switch.
p4raw-id: //depot/perl@22313
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3273,6 +3273,13 @@ END_EXTERN_C #endif #endif +/* Win32 defines a type 'WORD' in windef.h. This conflicts with the enumerator + * 'WORD' defined in perly.h. The yytokentype enum is only a debugging aid, so + * it's not really needed. + */ +#if defined(WIN32) +# define YYTOKENTYPE +#endif #include "perly.h" #define LEX_NOTPARSING 11 /* borrowed from toke.c */ |