Bison for Windows를 설치하여 그냥 쓰니 borland compile이 오류가 있더군요. 그리서 찾아봤습니다.
1. http://opensourceforge.tistory.com/55 여기에 설명된 파일(설치파일)을 설치합니다.
2. 설치된 경로의 bin (bison.exe 가 있는 폴더) 을 시스템의 path 에 넣어 줍니다.
3. 작성하는 yacc 파일에
%{
#define __STDC__
#include <stdio.h>
#include <stdlib.h>
%}
__STDC__ 를 정의 해주면 borland (codegear) 툴에서 컴파일이 됩니다.