/[ascend]/trunk/base/winVC8/prebuild.bat
ViewVC logotype

Contents of /trunk/base/winVC8/prebuild.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 645 - (show annotations) (download) (as text)
Mon May 29 10:23:30 2006 UTC (16 years, 8 months ago) by wangym
File MIME type: application/x-msdos-program
File size: 383 byte(s)
fix SIZE_T name conflit under win32
1 cd ..\generic\compiler
2 del scanner.c
3 del ascParse.h
4 del ascParse.c
5 flex -Pzz_ -t scanner.l >scanner.c
6 bison -d -o ascParse.c ascParse.y
7 sed -i -e "s/yy/zz_/g" -e "s/SIZE_T/TSIZE_T/g" scanner.c
8 sed -i -e "/#ifndef YYSTYPE/,/#endif/d" -e "s/yy/zz_/g" -e "s/YY/ZZ_/g" -e "s/SIZE_T/TSIZE_T/g" ascParse.c
9 sed -i -e "s/yy/zz_/g" -e "s/YY/ZZ_/g" -e "s/SIZE_T/TSIZE_T/g" ascParse.h

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22